OSDN Git Service

Android.mk: add missing dependencies
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 17 Jan 2016 18:56:01 +0000 (02:56 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 17 Jan 2016 18:56:01 +0000 (02:56 +0800)
The EFI support introduced more files which should be added
to the dependencies of $(boot_dir).

Android.mk

index ab27c6f..9a3d0dc 100644 (file)
@@ -80,7 +80,7 @@ $(INSTALL_RAMDISK): $(wildcard $(LOCAL_PATH)/install/*/* $(LOCAL_PATH)/install/*
        $(MKBOOTFS) $(dir $(dir $(<D))) | gzip -9 > $@
 
 boot_dir := $(PRODUCT_OUT)/boot
-$(boot_dir): $(wildcard $(LOCAL_PATH)/boot/isolinux/*) $(systemimg) $(GENERIC_X86_CONFIG_MK) | $(ACP)
+$(boot_dir): $(shell find $(LOCAL_PATH)/boot -type f | sort -r) $(systemimg) $(GENERIC_X86_CONFIG_MK) | $(ACP)
        $(hide) rm -rf $@
        $(ACP) -pr $(dir $(<D)) $@