ixp4xx: fix initramfs builds

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

SVN-Revision: 48576
master
Felix Fietkau 9 years ago
parent 0c6b003704
commit 927cec956e
  1. 5
      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 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; \

Loading…
Cancel
Save