else
all: compile
endif
-KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
+include $(INCLUDE_DIR)/kernel-version.mk
include $(INCLUDE_DIR)/host.mk
include $(INCLUDE_DIR)/kernel.mk
--- /dev/null
+# 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))))
+
Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
endef
-LINUX_VERSION:=2.4.33.4
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=aca0257549c385a227088ad8853a72a2
+KERNEL:=2.4
include $(INCLUDE_DIR)/kernel-build.mk
DEFAULT_PACKAGES += kmod-avalanche-cpmac
Build firmware images for Aruba boards
endef
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
DEFAULT_PACKAGES += kmod-madwifi
Build firmware images for Atheros SoC boards (currently AR2315-AR2317)
endef
-LINUX_VERSION:=2.6.19
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20
-
include $(INCLUDE_DIR)/kernel-build.mk
DEFAULT_PACKAGES += kmod-madwifi
(e.g. 4G-Systems Mesh/Access Cube ...)
endef
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
define Kernel/BuildImage
with TFTP client too.
endef
-LINUX_VERSION:=2.4.33.4
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=aca0257549c385a227088ad8853a72a2
+KERNEL:=2.4
include $(INCLUDE_DIR)/kernel-build.mk
DEFAULT_PACKAGES += kmod-switch nvram
with TFTP client too.
endef
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
DEFAULT_PACKAGES += kmod-switch
(e.g. Inventel Livebox, Siemens SE515)
endef
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
define Profile/Broadcom
define Target/Description
endef
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
$(eval $(call BuildKernel))
BOARDNAME:=Magicbox
FEATURES:=jffs2
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
$(eval $(call BuildKernel))
BOARDNAME:=Mikrotik RouterBoard 532
FEATURES:=jffs2
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
$(eval $(call BuildKernel))
(e.g. Airlink101 AR525W)
endef
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
define Profile/Ralink
BOARDNAME:=SiByte MIPS
FEATURES:=broken
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
$(eval $(call BuildKernel))
BOARD:=uml
BOARDNAME:=User Mode Linux
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
$(eval $(call BuildKernel))
BOARDNAME:=x86
FEATURES:=jffs2 ext2
-LINUX_VERSION:=2.6.19.1
-LINUX_RELEASE:=1
-LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be
-
include $(INCLUDE_DIR)/kernel-build.mk
$(eval $(call BuildKernel))