From 756eda8b6054e3297e6776223d40e69d048953b8 Mon Sep 17 00:00:00 2001 From: Nick Sanders Date: Mon, 30 Jan 2012 19:25:21 -0800 Subject: [PATCH] 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 --- core/tasks/factory_ramdisk.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/tasks/factory_ramdisk.mk b/core/tasks/factory_ramdisk.mk index 67571948fa..2cbea875eb 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