From 33776c1cae6e24db83b15f5471021a82fa9cbc86 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 1 Dec 2012 16:26:48 -0500 Subject: [PATCH] setup_board: generalize pkg-config paths The current logic has a few libdirs hardcoded (lib & lib64). This fails if the libdir is named something else (like libx32). Tweak the pkg-config logic so it returns all pkg-config dirs found in the target. This won't work if the target is multilib, but we don't have any plans to do that. BUG=chromium-os:36866 TEST=`cbuildbot {amd64,arm,x86}-generic-full` worked Change-Id: I1d856c86d279691e85e5794f429bd3da2eb28675 Reviewed-on: https://gerrit.chromium.org/gerrit/39050 Reviewed-by: David James Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger --- setup_board | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup_board b/setup_board index eb48d94312..08ab398b7c 100755 --- a/setup_board +++ b/setup_board @@ -106,9 +106,7 @@ generate_all_wrappers() { sudo_clobber "${wrapper}" <