In the Linaro set up u-boot will look for uImage and uInitrd.
This patch is Linaro specific and should not be contibuted to AOSP.
---
 core/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/core/Makefile b/core/Makefile
index 857dd20..f75832a 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -309,13 +309,14 @@ INTERNAL_RAMDISK_FILES := $(filter $(TARGET_ROOT_OUT)/%, \
        $(ALL_GENERATED_SOURCES) \
        $(ALL_DEFAULT_INSTALLED_MODULES))
 
-BUILT_RAMDISK_TARGET := $(PRODUCT_OUT)/ramdisk.img
+BUILT_RAMDISK_TARGET := $(PRODUCT_OUT)/uInitrd
 
 # We just build this directly to the install location.
 INSTALLED_RAMDISK_TARGET := $(BUILT_RAMDISK_TARGET)
 $(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_RAMDISK_FILES) | 
$(MINIGZIP)
        $(call pretty,"Target ram disk: $@")
-       $(hide) $(MKBOOTFS) $(TARGET_ROOT_OUT) | $(MINIGZIP) > $@
+       $(hide) $(MKBOOTFS) $(TARGET_ROOT_OUT) | $(MINIGZIP) > 
$(PRODUCT_OUT)/obj/temp_ramdisk.img
+       mkimage -A arm -O linux -T ramdisk -n "Android Ramdisk Image" -d 
$(PRODUCT_OUT)/obj/temp_ramdisk.img $@
 
 
 ifneq ($(strip $(TARGET_NO_KERNEL)),true)
-- 
1.7.1


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to