Disable generating dt.img if TARGET_NO_KERNEL is defined as true
TARGET_NO_KERNEL implies the kernel is not present/compiled with the rest of the build. In absence of a kernel, it does not make much sense to compile a device tree either. Make dt.img generation tied to TARGET_NO_KERNEL flag. Change-Id: Ie0421c7630f30c39019bebd63fd82fe52e11e982
This commit is contained in:
parent
5d71b32f0c
commit
4182828dba
|
@ -81,6 +81,7 @@ endif
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
# Generate device tree image (dt.img)
|
# Generate device tree image (dt.img)
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
ifneq ($(strip $(TARGET_NO_KERNEL)),true)
|
||||||
ifeq ($(strip $(BOARD_KERNEL_SEPARATED_DT)),true)
|
ifeq ($(strip $(BOARD_KERNEL_SEPARATED_DT)),true)
|
||||||
ifeq ($(strip $(BUILD_TINY_ANDROID)),true)
|
ifeq ($(strip $(BUILD_TINY_ANDROID)),true)
|
||||||
include device/qcom/common/dtbtool/Android.mk
|
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_DEFAULT_INSTALLED_MODULES += $(INSTALLED_DTIMAGE_TARGET)
|
||||||
ALL_MODULES.$(LOCAL_MODULE).INSTALLED += $(INSTALLED_DTIMAGE_TARGET)
|
ALL_MODULES.$(LOCAL_MODULE).INSTALLED += $(INSTALLED_DTIMAGE_TARGET)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
# Generate usbdisk.img FAT32 image
|
# Generate usbdisk.img FAT32 image
|
||||||
|
|
Loading…
Reference in New Issue