From 4ea330f00706b6608d60f283d182cad1674bf3bf Mon Sep 17 00:00:00 2001 From: Mandeep Singh Baines Date: Wed, 17 Nov 2010 18:11:58 -0800 Subject: [PATCH] build_image: honor USE flags from environment BUG=n0ne TEST=Ran the following command to test: USE="-compat_wireless" ./build_image Change-Id: I4b3fd12c1f62e1b2551045a5831a63d848fe2a3f Review URL: http://codereview.chromium.org/5139003 --- build_image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_image b/build_image index f727b7497f..bd49af5054 100755 --- a/build_image +++ b/build_image @@ -180,7 +180,7 @@ fi # We don't allow building from source with the image as a target, # and it's not possible to store prebuilts for the same package # with different use flags. -USE="${EXTRA_USE}" emerge-${FLAGS_board} \ +USE="${EXTRA_USE} ${USE}" emerge-${FLAGS_board} \ -uNDvg --binpkg-respect-use=y virtual/kernel # Use canonical path since some tools (e.g. mount) do not like symlinks.