Author: nbd Date: 2014-08-01 01:41:22 +0200 (Fri, 01 Aug 2014) New Revision: 41919
Modified: branches/barrier_breaker/target/linux/cns3xxx/image/Makefile Log: cns3xxx: fix initramfs build Signed-off-by: Felix Fietkau <[email protected]> Backport of r41915 Modified: branches/barrier_breaker/target/linux/cns3xxx/image/Makefile =================================================================== --- branches/barrier_breaker/target/linux/cns3xxx/image/Makefile 2014-07-31 23:41:21 UTC (rev 41918) +++ branches/barrier_breaker/target/linux/cns3xxx/image/Makefile 2014-07-31 23:41:22 UTC (rev 41919) @@ -25,6 +25,10 @@ $(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)) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
