cns3xxx: fix initramfs build

Signed-off-by: Felix Fietkau <>

Backport of r41915

git-svn-id: svn:// 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2014-07-31 23:41:22 +00:00
parent 1ca850fd0c
commit c01e4ddd29
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@ define BuildFirmware/Generic
$(BIN_DIR)/$(IMG_PREFIX)-$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))-sysupgrade.bin
define Image/BuildKernel/Initramfs
mkimage -A arm -O linux -T kernel -C none -a 0x20008000 -e 0x20008000 -n 'OpenWrt Linux-$(LINUX_VERSION)' -d $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-initramfs-uImage
define Image/Build
$(call Image/Build/$(1),$(1))
$(call BuildFirmware/Generic,$(1))