store the default kernel version for our ports in a single place (target makefiles can still override it if necessary)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5899 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
3b9b26bf95
commit
20e0cf192f
|
@ -33,8 +33,8 @@ ifeq ($(DUMP),1)
|
||||||
else
|
else
|
||||||
all: compile
|
all: compile
|
||||||
endif
|
endif
|
||||||
KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
|
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/kernel-version.mk
|
||||||
include $(INCLUDE_DIR)/host.mk
|
include $(INCLUDE_DIR)/host.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Use the default kernel version if the Makefile doesn't override it
|
||||||
|
|
||||||
|
ifeq ($(LINUX_VERSION),)
|
||||||
|
ifeq ($(KERNEL),2.4)
|
||||||
|
LINUX_VERSION:=2.4.33.4
|
||||||
|
LINUX_RELEASE:=1
|
||||||
|
LINUX_KERNEL_MD5SUM:=aca0257549c385a227088ad8853a72a2
|
||||||
|
else
|
||||||
|
LINUX_VERSION:=2.6.19.1
|
||||||
|
LINUX_RELEASE:=1
|
||||||
|
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
|
||||||
|
|
|
@ -15,9 +15,7 @@ define Target/Description
|
||||||
Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
|
Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.4.33.4
|
KERNEL:=2.4
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=aca0257549c385a227088ad8853a72a2
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
DEFAULT_PACKAGES += kmod-avalanche-cpmac
|
DEFAULT_PACKAGES += kmod-avalanche-cpmac
|
||||||
|
|
|
@ -15,10 +15,6 @@ define Target/Description
|
||||||
Build firmware images for Aruba boards
|
Build firmware images for Aruba boards
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
DEFAULT_PACKAGES += kmod-madwifi
|
DEFAULT_PACKAGES += kmod-madwifi
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@ define Target/Description
|
||||||
Build firmware images for Atheros SoC boards (currently AR2315-AR2317)
|
Build firmware images for Atheros SoC boards (currently AR2315-AR2317)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
DEFAULT_PACKAGES += kmod-madwifi
|
DEFAULT_PACKAGES += kmod-madwifi
|
||||||
|
|
||||||
|
|
|
@ -16,10 +16,6 @@ define Target/Description
|
||||||
(e.g. 4G-Systems Mesh/Access Cube ...)
|
(e.g. 4G-Systems Mesh/Access Cube ...)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
|
|
||||||
define Kernel/BuildImage
|
define Kernel/BuildImage
|
||||||
|
|
|
@ -20,9 +20,7 @@ define Target/Description
|
||||||
with TFTP client too.
|
with TFTP client too.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.4.33.4
|
KERNEL:=2.4
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=aca0257549c385a227088ad8853a72a2
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
DEFAULT_PACKAGES += kmod-switch nvram
|
DEFAULT_PACKAGES += kmod-switch nvram
|
||||||
|
|
|
@ -20,10 +20,6 @@ define Target/Description
|
||||||
with TFTP client too.
|
with TFTP client too.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
DEFAULT_PACKAGES += kmod-switch
|
DEFAULT_PACKAGES += kmod-switch
|
||||||
|
|
||||||
|
|
|
@ -16,10 +16,6 @@ define Target/Description
|
||||||
(e.g. Inventel Livebox, Siemens SE515)
|
(e.g. Inventel Livebox, Siemens SE515)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
|
|
||||||
define Profile/Broadcom
|
define Profile/Broadcom
|
||||||
|
|
|
@ -14,9 +14,5 @@ FEATURES:=jffs2
|
||||||
define Target/Description
|
define Target/Description
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
$(eval $(call BuildKernel))
|
$(eval $(call BuildKernel))
|
||||||
|
|
|
@ -11,9 +11,5 @@ BOARD:=magicbox
|
||||||
BOARDNAME:=Magicbox
|
BOARDNAME:=Magicbox
|
||||||
FEATURES:=jffs2
|
FEATURES:=jffs2
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
$(eval $(call BuildKernel))
|
$(eval $(call BuildKernel))
|
||||||
|
|
|
@ -11,9 +11,5 @@ BOARD:=rb532
|
||||||
BOARDNAME:=Mikrotik RouterBoard 532
|
BOARDNAME:=Mikrotik RouterBoard 532
|
||||||
FEATURES:=jffs2
|
FEATURES:=jffs2
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
$(eval $(call BuildKernel))
|
$(eval $(call BuildKernel))
|
||||||
|
|
|
@ -16,10 +16,6 @@ define Target/Description
|
||||||
(e.g. Airlink101 AR525W)
|
(e.g. Airlink101 AR525W)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
|
|
||||||
define Profile/Ralink
|
define Profile/Ralink
|
||||||
|
|
|
@ -11,9 +11,5 @@ BOARD:=sibyte
|
||||||
BOARDNAME:=SiByte MIPS
|
BOARDNAME:=SiByte MIPS
|
||||||
FEATURES:=broken
|
FEATURES:=broken
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
$(eval $(call BuildKernel))
|
$(eval $(call BuildKernel))
|
||||||
|
|
|
@ -10,9 +10,5 @@ ARCH:=i386
|
||||||
BOARD:=uml
|
BOARD:=uml
|
||||||
BOARDNAME:=User Mode Linux
|
BOARDNAME:=User Mode Linux
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
$(eval $(call BuildKernel))
|
$(eval $(call BuildKernel))
|
||||||
|
|
|
@ -11,10 +11,6 @@ BOARD:=x86
|
||||||
BOARDNAME:=x86
|
BOARDNAME:=x86
|
||||||
FEATURES:=jffs2 ext2
|
FEATURES:=jffs2 ext2
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.19.1
|
|
||||||
LINUX_RELEASE:=1
|
|
||||||
LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel-build.mk
|
include $(INCLUDE_DIR)/kernel-build.mk
|
||||||
|
|
||||||
$(eval $(call BuildKernel))
|
$(eval $(call BuildKernel))
|
||||||
|
|
Loading…
Reference in New Issue