ppc40x: build initramfs images for the OpenRB/Magicbox boards
SVN-Revision: 20980
This commit is contained in:
parent
857ed7b676
commit
8d86dbb454
1 changed files with 8 additions and 0 deletions
|
@ -16,6 +16,7 @@ endef
|
||||||
|
|
||||||
define Image/BuildKernel
|
define Image/BuildKernel
|
||||||
cp $(KDIR)/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage
|
cp $(KDIR)/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage
|
||||||
|
$(call Image/Build/Initramfs)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build
|
define Image/Build
|
||||||
|
@ -62,4 +63,11 @@ define Image/Build/squashfs
|
||||||
) > $(BIN_DIR)/$(IMG_PREFIX)-openrb-$(1).img
|
) > $(BIN_DIR)/$(IMG_PREFIX)-openrb-$(1).img
|
||||||
endef
|
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))
|
$(eval $(call BuildImage))
|
||||||
|
|
Loading…
Reference in a new issue