aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-31 00:54:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-31 00:54:53 +0000
commit639ae218de6df4045e0dece35e138ce080ad1073 (patch)
tree9f38bd8d43b0c1b32f0a3d1b1fa4865fd339bbc7 /target/linux
parenteade6ad3727fc534077ad4c61247fb3996e75c5b (diff)
downloadmaster-187ad058-639ae218de6df4045e0dece35e138ce080ad1073.tar.gz
master-187ad058-639ae218de6df4045e0dece35e138ce080ad1073.tar.bz2
master-187ad058-639ae218de6df4045e0dece35e138ce080ad1073.zip
ixp4xx: fix initramfs builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48576 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ixp4xx/image/Makefile5
1 files changed, 5 insertions, 0 deletions
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; \