Fix build.

Change-Id: I166d4e0c5cc4d2b58c7af3f0207b2d161a9d1715
This commit is contained in:
Ying Wang 2011-10-31 18:13:30 -07:00
parent 9e33168a69
commit 178ef923ac
1 changed files with 2 additions and 2 deletions

View File

@ -603,10 +603,10 @@ endif
ifeq ($(INTERNAL_USERIMAGES_USE_EXT),true) ifeq ($(INTERNAL_USERIMAGES_USE_EXT),true)
INTERNAL_USERIMAGES_DEPS := $(MKEXTUSERIMG) $(MAKE_EXT4FS) INTERNAL_USERIMAGES_DEPS := $(MKEXTUSERIMG) $(MAKE_EXT4FS)
INTERNAL_USERIMAGES_BINARY_PATHS := $(sort $(dir $(INTERNAL_USERIMAGES_DEPS)))
else else
INTERNAL_USERIMAGES_DEPS := $(MKYAFFS2) INTERNAL_USERIMAGES_DEPS := $(MKYAFFS2)
endif endif
INTERNAL_USERIMAGES_BINARY_PATHS := $(sort $(dir $(INTERNAL_USERIMAGES_DEPS)))
# $(1): the path of the output dictionary file # $(1): the path of the output dictionary file
define generate-userimage-prop-dictionary define generate-userimage-prop-dictionary
@ -890,7 +890,7 @@ define build-userdataimage-target
$(call generate-userimage-prop-dictionary, $(userdataimage_intermediates)/userdata_image_info.txt) $(call generate-userimage-prop-dictionary, $(userdataimage_intermediates)/userdata_image_info.txt)
$(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH \ $(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH \
./build/tools/releasetools/build_image.py \ ./build/tools/releasetools/build_image.py \
$(TARGET_OUT_DATA) $(userdataimage_intermediates)/userdata_image_info.txt $@ $(TARGET_OUT_DATA) $(userdataimage_intermediates)/userdata_image_info.txt $(INSTALLED_USERDATAIMAGE_TARGET)
$(hide) $(call assert-max-image-size,$(INSTALLED_USERDATAIMAGE_TARGET),$(BOARD_USERDATAIMAGE_PARTITION_SIZE),yaffs) $(hide) $(call assert-max-image-size,$(INSTALLED_USERDATAIMAGE_TARGET),$(BOARD_USERDATAIMAGE_PARTITION_SIZE),yaffs)
endef endef