OSDN Git Service

Add $(TARGET_DEVICE_DIR)/system.prop to be a prerequisite
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 31 Aug 2009 06:55:33 +0000 (14:55 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 3 Aug 2011 04:01:17 +0000 (12:01 +0800)
If $(TARGET_DEVICE_DIR)/system.prop exists, it should be
a prerequisite of $(INSTALLED_BUILD_PROP_TARGET),
as the following rules state.

Change-Id: Ie395b6f08cef198c3f5c733a5b6ae5a458335a9c

core/Makefile

index f4669f2..97632f6 100644 (file)
@@ -115,7 +115,7 @@ $(word 3, 3, $(call default-locale, $(1)))
 endef
 
 BUILDINFO_SH := build/tools/buildinfo.sh
-$(INSTALLED_BUILD_PROP_TARGET): $(BUILDINFO_SH) $(INTERNAL_BUILD_ID_MAKEFILE)
+$(INSTALLED_BUILD_PROP_TARGET): $(BUILDINFO_SH) $(INTERNAL_BUILD_ID_MAKEFILE) $(wildcard $(TARGET_DEVICE_DIR)/system.prop)
        @echo Target buildinfo: $@
        @mkdir -p $(dir $@)
        $(hide) TARGET_BUILD_TYPE="$(TARGET_BUILD_VARIANT)" \