1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 21:09:29 +03:00

ppc40x: build initramfs images for the OpenRB/Magicbox boards

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20980 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2010-04-18 08:32:35 +00:00
parent bf1e04335e
commit 1c29e8c8f2

View File

@ -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))