diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-31 00:54:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-31 00:54:53 +0000 |
commit | 927cec956e7e54014825f894df7efed26ba5bc87 (patch) | |
tree | f7638239532ce5aaffce115dbec2b3032b0ed027 /target/linux/ixp4xx | |
parent | 0c6b003704c125664e40d008db205f292c7de756 (diff) | |
download | openwrt-927cec956e7e54014825f894df7efed26ba5bc87.tar.gz openwrt-927cec956e7e54014825f894df7efed26ba5bc87.tar.bz2 openwrt-927cec956e7e54014825f894df7efed26ba5bc87.zip |
ixp4xx: fix initramfs builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48576
Diffstat (limited to 'target/linux/ixp4xx')
-rw-r--r-- | target/linux/ixp4xx/image/Makefile | 5 |
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; \ |