diff --git a/target/linux/avr32/Makefile b/target/linux/avr32/Makefile index de5410309e..cd8bd5e60d 100644 --- a/target/linux/avr32/Makefile +++ b/target/linux/avr32/Makefile @@ -20,6 +20,6 @@ define Target/Description Build firmware images for ATNGW100 board endef -KERNELNAME:="uImage" +KERNELNAME:=uImage $(eval $(call BuildTarget)) diff --git a/target/linux/bcm53xx/Makefile b/target/linux/bcm53xx/Makefile index 519b5a5530..69f30f84ec 100644 --- a/target/linux/bcm53xx/Makefile +++ b/target/linux/bcm53xx/Makefile @@ -22,7 +22,7 @@ define Target/Description Build firmware images for Broadcom based BCM47xx/53xx routers with ARM CPU, *not* MIPS. endef -KERNELNAME:="zImage dtbs" +KERNELNAME:=zImage dtbs DEFAULT_PACKAGES += swconfig wpad-mini nvram \ kmod-gpio-button-hotplug \ diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile index 0779e61252..c8a5536934 100644 --- a/target/linux/brcm2708/Makefile +++ b/target/linux/brcm2708/Makefile @@ -25,6 +25,6 @@ define Target/Description Currently produces SD Card image for Raspberry Pi. endef -KERNELNAME="Image" +KERNELNAME:=Image $(eval $(call BuildTarget)) diff --git a/target/linux/cns21xx/Makefile b/target/linux/cns21xx/Makefile index 4f320b2f29..a183a21b86 100644 --- a/target/linux/cns21xx/Makefile +++ b/target/linux/cns21xx/Makefile @@ -24,6 +24,6 @@ define Target/Description Build firmware images for Cavium Networks CNS21XX based boards. endef -KERNELNAME:="zImage uImage" +KERNELNAME:=zImage uImage $(eval $(call BuildTarget)) diff --git a/target/linux/cns3xxx/Makefile b/target/linux/cns3xxx/Makefile index 7508240caa..dd5349cd6f 100644 --- a/target/linux/cns3xxx/Makefile +++ b/target/linux/cns3xxx/Makefile @@ -23,7 +23,7 @@ define Target/Description eg. the Gateworks Laguna family endef -KERNELNAME:="zImage" +KERNELNAME:=zImage DEFAULT_PACKAGES += kmod-ath9k kmod-usb2 wpad-mini diff --git a/target/linux/ep93xx/Makefile b/target/linux/ep93xx/Makefile index debb8e99ae..ad7fb31bd3 100644 --- a/target/linux/ep93xx/Makefile +++ b/target/linux/ep93xx/Makefile @@ -19,6 +19,6 @@ DEVICE_TYPE:=developerboard include $(INCLUDE_DIR)/target.mk -KERNELNAME:="uImage" +KERNELNAME:=uImage $(eval $(call BuildTarget)) diff --git a/target/linux/gemini/Makefile b/target/linux/gemini/Makefile index 6a6c0a7450..45ae97ef91 100644 --- a/target/linux/gemini/Makefile +++ b/target/linux/gemini/Makefile @@ -15,7 +15,7 @@ MAINTAINER:=Imre Kaloz LINUX_VERSION:=3.10.49 -KERNELNAME:="zImage" +KERNELNAME:=zImage include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile index 1e64fd7bce..c29187cb35 100644 --- a/target/linux/imx6/Makefile +++ b/target/linux/imx6/Makefile @@ -18,6 +18,6 @@ LINUX_VERSION:=3.14.18 include $(INCLUDE_DIR)/target.mk -KERNELNAME:="zImage dtbs" +KERNELNAME:=zImage dtbs $(eval $(call BuildTarget)) diff --git a/target/linux/iop32x/Makefile b/target/linux/iop32x/Makefile index 8c66387e6b..02037d9837 100644 --- a/target/linux/iop32x/Makefile +++ b/target/linux/iop32x/Makefile @@ -16,6 +16,6 @@ LINUX_VERSION:=3.3.8 include $(INCLUDE_DIR)/target.mk -KERNELNAME:="zImage" +KERNELNAME:=zImage $(eval $(call BuildTarget)) diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Makefile index 6207c9126f..55a0d72f7d 100644 --- a/target/linux/ipq806x/Makefile +++ b/target/linux/ipq806x/Makefile @@ -11,7 +11,7 @@ MAINTAINER:=John Crispin LINUX_VERSION:=3.14.18 -KERNELNAME="Image dtbs" +KERNELNAME:=Image dtbs include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ixp4xx/Makefile b/target/linux/ixp4xx/Makefile index b0665db051..2b249dc855 100644 --- a/target/linux/ixp4xx/Makefile +++ b/target/linux/ixp4xx/Makefile @@ -18,6 +18,6 @@ LINUX_VERSION:=3.10.49 include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += ixp4xx-microcode fconfig -KERNELNAME:="zImage" +KERNELNAME:=zImage $(eval $(call BuildTarget)) diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile index 33c33a4d6f..4b6d841de2 100644 --- a/target/linux/kirkwood/Makefile +++ b/target/linux/kirkwood/Makefile @@ -17,6 +17,6 @@ LINUX_VERSION:=3.14.18 include $(INCLUDE_DIR)/target.mk -KERNELNAME:="zImage dtbs" +KERNELNAME:=zImage dtbs $(eval $(call BuildTarget)) diff --git a/target/linux/mcs814x/Makefile b/target/linux/mcs814x/Makefile index 6b1b40e486..25c778afa6 100644 --- a/target/linux/mcs814x/Makefile +++ b/target/linux/mcs814x/Makefile @@ -26,6 +26,6 @@ DEFAULT_PACKAGES := $(filter-out ppp%,$(DEFAULT_PACKAGES)) \ kmod-nls-utf8 \ kmod-mcs814x-wdt kmod-ledtrig-usbdev -KERNELNAME:="zImage dtbs" +KERNELNAME:=zImage dtbs $(eval $(call BuildTarget)) diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile index a965773078..56f655a31e 100644 --- a/target/linux/mpc52xx/Makefile +++ b/target/linux/mpc52xx/Makefile @@ -20,6 +20,6 @@ define Target/Description Build images for the Freescale MPC52xx based boards. endef -KERNELNAME:="zImage" +KERNELNAME:=zImage $(eval $(call BuildTarget)) diff --git a/target/linux/mpc83xx/Makefile b/target/linux/mpc83xx/Makefile index 915faec2df..806b8f6e4e 100644 --- a/target/linux/mpc83xx/Makefile +++ b/target/linux/mpc83xx/Makefile @@ -23,6 +23,6 @@ define Target/Description Build firmware images for Freescale MPC83xx based boards (eg. RouterBoard 600). endef -KERNELNAME:="uImage dtbImage.rb600 dtbImage.rb333" +KERNELNAME:=uImage dtbImage.rb600 dtbImage.rb333 $(eval $(call BuildTarget)) diff --git a/target/linux/mvebu/Makefile b/target/linux/mvebu/Makefile index b899d63007..dc61e7c2c1 100644 --- a/target/linux/mvebu/Makefile +++ b/target/linux/mvebu/Makefile @@ -18,7 +18,7 @@ LINUX_VERSION:=3.14.18 include $(INCLUDE_DIR)/target.mk -KERNELNAME:="zImage dtbs" +KERNELNAME:=zImage dtbs DEFAULT_PACKAGES += uboot-envtools diff --git a/target/linux/mxs/Makefile b/target/linux/mxs/Makefile index 7a5730b761..9f950959b8 100644 --- a/target/linux/mxs/Makefile +++ b/target/linux/mxs/Makefile @@ -14,7 +14,7 @@ CPU_TYPE:=arm926ej-s MAINTAINER:=Zoltan HERPAI LINUX_VERSION:=3.14.18 -KERNELNAME:="zImage dtbs" +KERNELNAME:=zImage dtbs define Target/Description Support for Freescale i.MX23/i.MX28 boards diff --git a/target/linux/omap/Makefile b/target/linux/omap/Makefile index 5795c002d8..3ebfccddc3 100644 --- a/target/linux/omap/Makefile +++ b/target/linux/omap/Makefile @@ -17,7 +17,7 @@ LINUX_VERSION:=3.13.7 MAINTAINER:=Imre Kaloz -KERNELNAME:="zImage dtbs" +KERNELNAME:=zImage dtbs include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/omap24xx/Makefile b/target/linux/omap24xx/Makefile index f8cd3c5115..40ad342bed 100644 --- a/target/linux/omap24xx/Makefile +++ b/target/linux/omap24xx/Makefile @@ -19,7 +19,7 @@ define Target/Description TI OMAP-24xx endef -KERNELNAME:="zImage" +KERNELNAME:=zImage include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/orion/Makefile b/target/linux/orion/Makefile index a38b74fe4d..ec40a00d18 100644 --- a/target/linux/orion/Makefile +++ b/target/linux/orion/Makefile @@ -16,7 +16,7 @@ LINUX_VERSION:=3.10.49 include $(INCLUDE_DIR)/target.mk -KERNELNAME:="zImage" +KERNELNAME:=zImage DEFAULT_PACKAGES += kmod-ath9k kmod-crypto-mv-cesa wpad-mini kmod-i2c-core kmod-i2c-mv64xxx kmod-rtc-isl1208 diff --git a/target/linux/ppc40x/Makefile b/target/linux/ppc40x/Makefile index 817abc7f49..00e8d4322c 100644 --- a/target/linux/ppc40x/Makefile +++ b/target/linux/ppc40x/Makefile @@ -21,6 +21,6 @@ define Target/Description Build firmware images for AMCC/IBM PPC40x based boards. endef -KERNELNAME:="uImage cuImage.magicbox cuImage.openrb" +KERNELNAME:=uImage cuImage.magicbox cuImage.openrb $(eval $(call BuildTarget)) diff --git a/target/linux/ppc44x/Makefile b/target/linux/ppc44x/Makefile index f6d932743a..5c2e15da2a 100644 --- a/target/linux/ppc44x/Makefile +++ b/target/linux/ppc44x/Makefile @@ -23,6 +23,6 @@ define Target/Description Build firmware images for AMCC/IBM PPC44x based boards. endef -KERNELNAME:="uImage cuImage.taishan" +KERNELNAME:=uImage cuImage.taishan $(eval $(call BuildTarget)) diff --git a/target/linux/pxa/Makefile b/target/linux/pxa/Makefile index 86e4950f1e..c61231daf7 100644 --- a/target/linux/pxa/Makefile +++ b/target/linux/pxa/Makefile @@ -20,6 +20,6 @@ define Target/Description Build images for PXA2xx systems, eg. Gumstix. endef -KERNELNAME:="uImage" +KERNELNAME:=uImage $(eval $(call BuildTarget)) diff --git a/target/linux/realview/Makefile b/target/linux/realview/Makefile index 3d49605130..80892075b0 100644 --- a/target/linux/realview/Makefile +++ b/target/linux/realview/Makefile @@ -24,6 +24,6 @@ define Target/Description Build images for ARM Ltd. Realview boards to be run with qemu endef -KERNELNAME:="zImage" +KERNELNAME:=zImage $(eval $(call BuildTarget)) diff --git a/target/linux/realview/image/Makefile b/target/linux/realview/image/Makefile index c6ff8ce46a..1f3fa4a664 100644 --- a/target/linux/realview/image/Makefile +++ b/target/linux/realview/image/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk define Image/BuildKernel - cp $(KDIR)/$(subst ",,$(KERNELNAME)) $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf + cp $(KDIR)/$(KERNELNAME) $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf endef define Image/BuildKernel/Initramfs - cp $(KDIR)/$(subst ",,$(KERNELNAME))-initramfs $(BIN_DIR)/openwrt-$(BOARD)-vmlinux-initramfs.elf + cp $(KDIR)/$(KERNELNAME)-initramfs $(BIN_DIR)/openwrt-$(BOARD)-vmlinux-initramfs.elf endef define Image/Build/squashfs diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile index 4f59f3ef91..e96f0815b4 100644 --- a/target/linux/sunxi/Makefile +++ b/target/linux/sunxi/Makefile @@ -16,7 +16,7 @@ CPU_SUBTYPE:=vfpv3 MAINTAINER:=Zoltan HERPAI LINUX_VERSION:=3.14.18 -KERNELNAME:="zImage dtbs" +KERNELNAME:=zImage dtbs DEFAULT_PACKAGES += uboot-envtools uboot-sunxi kmod-eeprom-sunxi kmod-wdt-sunxi # A10: Cortex-A8