aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Ryd <patrik.ryd@linaro.org>2011-04-19 10:30:44 +0200
committerPatrik Ryd <patrik.ryd@linaro.org>2011-04-19 10:43:53 +0200
commitd37f18e5b5b7ebe9c913028e4151ba7ebcfb8960 (patch)
tree5db22db7a96562fb14d6ad1f93389f3e11236170
parenta2221b4a7e7a9c098c6b9f7bc59e4ff0d96cef5b (diff)
downloadbuild-linaro_android_2.3.3.tar.gz
Create uInitrd instead of ramdisk.imglinaro_android_2.3.3
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/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Makefile b/core/Makefile
index 857dd20aba..79d59a5147 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)