AndroidKernel: Remove dtb output directory on compile

Force rebuild of dtbs by removing the dtb output
directory at the start of a kernel compile in
an Android build environment.

Change-Id: I29f86adfb39b8da467cd7515d0aff2b9c62d1195
Signed-off-by: David Ng <dave@codeaurora.org>
This commit is contained in:
David Ng 2013-12-05 17:03:59 -08:00 committed by Gerrit - the friendly Code Review server
parent 49110a93e8
commit fba0bca320
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ $(KERNEL_OUT)/piggy : $(TARGET_PREBUILT_INT_KERNEL)
$(hide) gunzip -c $(KERNEL_OUT)/arch/arm/boot/compressed/piggy.gzip > $(KERNEL_OUT)/piggy
$(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_OUT) $(KERNEL_CONFIG) $(KERNEL_HEADERS_INSTALL)
$(hide) rm -rf $(KERNEL_OUT)/arch/arm/boot/dts
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi-
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi- modules
$(MAKE) -C kernel O=../$(KERNEL_OUT) INSTALL_MOD_PATH=../../$(KERNEL_MODULES_INSTALL) INSTALL_MOD_STRIP=1 ARCH=arm CROSS_COMPILE=arm-eabi- modules_install