From: Felix Fietkau Date: Sun, 31 Jan 2016 00:54:53 +0000 (+0000) Subject: ixp4xx: fix initramfs builds X-Git-Tag: reboot~565 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=927cec956e7e54014825f894df7efed26ba5bc87;p=openwrt%2Fstaging%2Flynxis.git ixp4xx: fix initramfs builds Signed-off-by: Felix Fietkau SVN-Revision: 48576 --- diff --git a/target/linux/ixp4xx/image/Makefile b/target/linux/ixp4xx/image/Makefile index bbd62f0513..7ec842064e 100644 --- a/target/linux/ixp4xx/image/Makefile +++ b/target/linux/ixp4xx/image/Makefile @@ -36,6 +36,11 @@ define Image/BuildKernel BIN_DIR=$(BIN_DIR) IMG_PREFIX="$(IMG_PREFIX)" $(TOPDIR)/scripts/arm-magic.sh endef +define Image/BuildKernel/Initramfs + cp $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-initramfs-zImage + BIN_DIR=$(BIN_DIR) IMG_PREFIX="$(IMG_PREFIX)-initramfs" $(TOPDIR)/scripts/arm-magic.sh +endef + # Build sysupgrade image define BuildFirmware/Generic dd if=$(KDIR)/zImage of=$(KDIR)/zImage.pad bs=64k conv=sync; \