mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:08:26 +02:00
[buildroot] make targets provide their KERNELNAME
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23919 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f802d1905d
commit
3ca8fd6798
@ -6,15 +6,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
KERNELNAME=
|
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) \
|
KERNEL_MAKEOPTS := -C $(LINUX_DIR) \
|
||||||
CROSS_COMPILE="$(KERNEL_CROSS)" \
|
CROSS_COMPILE="$(KERNEL_CROSS)" \
|
||||||
|
@ -20,4 +20,6 @@ define Target/Description
|
|||||||
Build firmware images for ATNGW100 board
|
Build firmware images for ATNGW100 board
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
KERNELNAME:=uImage
|
||||||
|
|
||||||
$(eval $(call BuildTarget))
|
$(eval $(call BuildTarget))
|
||||||
|
@ -16,6 +16,8 @@ LINUX_VERSION:=2.6.32.25
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
KERNELNAME:=bzImage
|
||||||
|
|
||||||
DEFAULT_PACKAGES += wpad-mini kmod-libphy kmod-r6040 kmod-input-core \
|
DEFAULT_PACKAGES += wpad-mini kmod-libphy kmod-r6040 kmod-input-core \
|
||||||
kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug \
|
kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug \
|
||||||
kmod-rdc321x-wdt
|
kmod-rdc321x-wdt
|
||||||
|
@ -16,6 +16,8 @@ LINUX_VERSION:=2.6.32.25
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
KERNELNAME:=bzImage
|
||||||
|
|
||||||
$(eval $(call BuildTarget))
|
$(eval $(call BuildTarget))
|
||||||
|
|
||||||
$(eval $(call $(if $(CONFIG_TARGET_ROOTFS_ISO),RequireCommand,Ignore),mkisofs, \
|
$(eval $(call $(if $(CONFIG_TARGET_ROOTFS_ISO),RequireCommand,Ignore),mkisofs, \
|
||||||
|
Loading…
Reference in New Issue
Block a user