[buildroot] make targets provide their KERNELNAME
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 8 Nov 2010 07:31:25 +0000 (07:31 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 8 Nov 2010 07:31:25 +0000 (07:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23919 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/kernel-defaults.mk
target/linux/avr32/Makefile
target/linux/rdc/Makefile
target/linux/x86/Makefile

index 5312ad4..312664a 100644 (file)
@@ -6,15 +6,6 @@
 #
 
 KERNELNAME=
-ifneq (,$(findstring x86,$(BOARD)))
-  KERNELNAME="bzImage"
-endif
-ifneq (,$(findstring rdc,$(BOARD)))
-  KERNELNAME="bzImage"
-endif
-ifneq (,$(findstring avr32,$(BOARD)))
-  KERNELNAME="uImage"
-endif
 
 KERNEL_MAKEOPTS := -C $(LINUX_DIR) \
        CROSS_COMPILE="$(KERNEL_CROSS)" \
index 62d2496..8c85be2 100644 (file)
@@ -20,4 +20,6 @@ define Target/Description
   Build firmware images for ATNGW100 board
 endef
 
+KERNELNAME:=uImage
+
 $(eval $(call BuildTarget))
index be5936c..9099e78 100644 (file)
@@ -16,6 +16,8 @@ LINUX_VERSION:=2.6.32.25
 
 include $(INCLUDE_DIR)/target.mk
 
+KERNELNAME:=bzImage
+
 DEFAULT_PACKAGES += wpad-mini kmod-libphy kmod-r6040 kmod-input-core \
                    kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug \
                    kmod-rdc321x-wdt
index 3cbed95..fb365dd 100644 (file)
@@ -16,6 +16,8 @@ LINUX_VERSION:=2.6.32.25
 
 include $(INCLUDE_DIR)/target.mk
 
+KERNELNAME:=bzImage
+
 $(eval $(call BuildTarget))
 
 $(eval $(call $(if $(CONFIG_TARGET_ROOTFS_ISO),RequireCommand,Ignore),mkisofs, \
This page took 0.023918 seconds and 4 git commands to generate.