ixp4xx: fix initramfs builds

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48576
This commit is contained in:
Felix Fietkau 2016-01-31 00:54:53 +00:00
parent 0c6b003704
commit 927cec956e

View File

@ -36,6 +36,11 @@ define Image/BuildKernel
BIN_DIR=$(BIN_DIR) IMG_PREFIX="$(IMG_PREFIX)" $(TOPDIR)/scripts/arm-magic.sh BIN_DIR=$(BIN_DIR) IMG_PREFIX="$(IMG_PREFIX)" $(TOPDIR)/scripts/arm-magic.sh
endef 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 # Build sysupgrade image
define BuildFirmware/Generic define BuildFirmware/Generic
dd if=$(KDIR)/zImage of=$(KDIR)/zImage.pad bs=64k conv=sync; \ dd if=$(KDIR)/zImage of=$(KDIR)/zImage.pad bs=64k conv=sync; \