ixp4xx: fix initramfs builds
authorFelix Fietkau <nbd@openwrt.org>
Sun, 31 Jan 2016 00:54:53 +0000 (00:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 31 Jan 2016 00:54:53 +0000 (00:54 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48576

target/linux/ixp4xx/image/Makefile

index bbd62f05138b8fbca20f4a12b771d4e2be67854f..7ec842064eb7cff64136b79c3382817bcdaaa0af 100644 (file)
@@ -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; \