diff options
author | Patrik Ryd <patrik.ryd@linaro.org> | 2011-04-19 10:30:44 +0200 |
---|---|---|
committer | Patrik Ryd <patrik.ryd@linaro.org> | 2011-06-22 08:36:53 +0200 |
commit | 83e05b513f6276d085d66c5d6e8df76fe555ac81 (patch) | |
tree | 6215152dceffaa60cc6de67c919952e3163d29bc | |
parent | 2faffadcb90daff25eec1e672dd1b732a41bc854 (diff) | |
download | build-dev-2.3.4.tar.gz |
Create uInitrd instead of ramdisk.imgdev-2.3.4
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.
-rw-r--r-- | core/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Makefile b/core/Makefile index be3624b315..531e6337fd 100644 --- a/core/Makefile +++ b/core/Makefile @@ -315,13 +315,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/ramdisk.img + mkimage -A arm -O linux -T ramdisk -n "Android Ramdisk Image" -d $(PRODUCT_OUT)/obj/ramdisk.img $@ ifneq ($(strip $(TARGET_NO_KERNEL)),true) |