From: Felix Fietkau Date: Thu, 31 Jul 2014 23:40:40 +0000 (+0000) Subject: cns3xxx: fix initramfs build X-Git-Tag: reboot~6358 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0426643bd5c0f81ec033509446b46c06e39e5eee;p=openwrt%2Fstaging%2Flynxis.git cns3xxx: fix initramfs build Signed-off-by: Felix Fietkau SVN-Revision: 41915 --- diff --git a/target/linux/cns3xxx/image/Makefile b/target/linux/cns3xxx/image/Makefile index 639af35be7..ad3789adf4 100644 --- a/target/linux/cns3xxx/image/Makefile +++ b/target/linux/cns3xxx/image/Makefile @@ -25,6 +25,10 @@ define BuildFirmware/Generic $(BIN_DIR)/$(IMG_PREFIX)-$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))-sysupgrade.bin endef +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 +endef + define Image/Build $(call Image/Build/$(1),$(1)) $(call BuildFirmware/Generic,$(1))