Merge "Disable generating dt.img if TARGET_NO_KERNEL is defined as true"

This commit is contained in:
Linux Build Service Account 2014-01-08 03:27:21 -08:00 committed by Gerrit - the friendly Code Review server
commit 0e2800413b
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ endif
#----------------------------------------------------------------------
# Generate device tree image (dt.img)
#----------------------------------------------------------------------
ifneq ($(strip $(TARGET_NO_KERNEL)),true)
ifeq ($(strip $(BOARD_KERNEL_SEPARATED_DT)),true)
ifeq ($(strip $(BUILD_TINY_ANDROID)),true)
include device/qcom/common/dtbtool/Android.mk
@ -105,6 +106,7 @@ $(INSTALLED_DTIMAGE_TARGET): $(DTBTOOL) $(INSTALLED_KERNEL_TARGET)
ALL_DEFAULT_INSTALLED_MODULES += $(INSTALLED_DTIMAGE_TARGET)
ALL_MODULES.$(LOCAL_MODULE).INSTALLED += $(INSTALLED_DTIMAGE_TARGET)
endif
endif
#---------------------------------------------------------------------
# Generate usbdisk.img FAT32 image