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
This commit is contained in:
Mandeep Singh Baines 2010-11-17 18:11:58 -08:00
parent 684d5dbccf
commit 4ea330f007

View File

@ -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.