diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-04-18 08:32:35 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-04-18 08:32:35 +0000 |
commit | daa77559218206f4cfd8626d509ee30f181a60d6 (patch) | |
tree | a2f3287ccf990998d820a9557828e3d7def63ef5 /target/linux/ppc40x/image | |
parent | 91edaf7e6942970e81245c30240a711cc66786db (diff) | |
download | master-187ad058-daa77559218206f4cfd8626d509ee30f181a60d6.tar.gz master-187ad058-daa77559218206f4cfd8626d509ee30f181a60d6.tar.bz2 master-187ad058-daa77559218206f4cfd8626d509ee30f181a60d6.zip |
ppc40x: build initramfs images for the OpenRB/Magicbox boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20980 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ppc40x/image')
-rw-r--r-- | target/linux/ppc40x/image/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ppc40x/image/Makefile b/target/linux/ppc40x/image/Makefile index 3e355a98e7..415539e9cc 100644 --- a/target/linux/ppc40x/image/Makefile +++ b/target/linux/ppc40x/image/Makefile @@ -16,6 +16,7 @@ endef define Image/BuildKernel cp $(KDIR)/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage + $(call Image/Build/Initramfs) endef define Image/Build @@ -62,4 +63,11 @@ define Image/Build/squashfs ) > $(BIN_DIR)/$(IMG_PREFIX)-openrb-$(1).img endef +ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) +define Image/Build/Initramfs + cp $(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox $(BIN_DIR)/openwrt-$(BOARD)-magicbox-initramfs.bin + cp $(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb $(BIN_DIR)/openwrt-$(BOARD)-openrb-initramfs.bin +endef +endif + $(eval $(call BuildImage)) |