summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Sanders <nsanders@google.com>2012-01-30 19:25:21 -0800
committerNick Sanders <nsanders@google.com>2012-01-30 19:25:21 -0800
commit756eda8b6054e3297e6776223d40e69d048953b8 (patch)
tree702bf266dcddfa29f2ef2a5881e610bbc3ea8c6b
parentf9dd81dbb3bede0ef4616657f1164a70ed18b9f2 (diff)
downloadbuild-756eda8b6054e3297e6776223d40e69d048953b8.zip
build-756eda8b6054e3297e6776223d40e69d048953b8.tar.gz
build-756eda8b6054e3297e6776223d40e69d048953b8.tar.bz2
Add build.prop to factory ramdisk
We'll need a special case to set device properties on the factory ramdisk Change-Id: I146d5c503e8c97005caa1ab1dbaca7ee9ab30faf Signed-off-by: Nick Sanders <nsanders@google.com>
-rw-r--r--core/tasks/factory_ramdisk.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/tasks/factory_ramdisk.mk b/core/tasks/factory_ramdisk.mk
index 6757194..2cbea87 100644
--- a/core/tasks/factory_ramdisk.mk
+++ b/core/tasks/factory_ramdisk.mk
@@ -60,6 +60,10 @@ INTERNAL_FACTORY_RAMDISK_FILES := $(filter $(TARGET_FACTORY_RAMDISK_OUT)/%, \
ifneq (,$(INTERNAL_FACTORY_RAMDISK_EXTRA_MODULES_FILES)$(INTERNAL_FACTORY_RAMDISK_FILES))
+# These files are made by magic in build/core/Makefile so we need to explicitly include them
+$(eval $(call copy-one-file,$(TARGET_OUT)/build.prop,$(TARGET_FACTORY_RAMDISK_OUT)/system/build.prop))
+INTERNAL_FACTORY_RAMDISK_FILES += $(TARGET_FACTORY_RAMDISK_OUT)/system/build.prop
+
BUILT_FACTORY_RAMDISK_FS := $(PRODUCT_OUT)/factory_ramdisk.gz
BUILT_FACTORY_RAMDISK_TARGET := $(PRODUCT_OUT)/factory_ramdisk.img