summaryrefslogtreecommitdiffstats
path: root/core/tasks
diff options
context:
space:
mode:
authorNick Sanders <nsanders@google.com>2012-01-30 19:25:21 -0800
committerMike Lockwood <lockwood@google.com>2012-03-23 10:51:32 -0700
commit8f8f0d494e6cd856c6c858d289e4ea2052271e65 (patch)
tree28117f0d5f8fa5b8d286580fcc9f0f7e89a109e1 /core/tasks
parent49cc9bacbf84bdcca7fb8a00cd3cb8757cfd1ff5 (diff)
downloadbuild-8f8f0d494e6cd856c6c858d289e4ea2052271e65.zip
build-8f8f0d494e6cd856c6c858d289e4ea2052271e65.tar.gz
build-8f8f0d494e6cd856c6c858d289e4ea2052271e65.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>
Diffstat (limited to 'core/tasks')
-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