diff options
author | Patrik Ryd <patrik.ryd@linaro.org> | 2011-04-19 10:30:44 +0200 |
---|---|---|
committer | Patrik Ryd <patrik.ryd@linaro.org> | 2011-05-24 12:57:02 +0200 |
commit | 82298b7074acb536cec7f024713f8d125efaa603 (patch) | |
tree | b433ba5679910be740f1bd89f2e4f39094f70b5a | |
parent | fc8cb3306c15870170595a0d415c066b04045966 (diff) | |
download | build-dev_pandroid.tar.gz |
Create uInitrd instead of ramdisk.imgdev_pandroid
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 8e3d5b4335..4d83698f0f 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/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) |