From 3022c60919485ccd06a2a55959f0a1f979a3a99f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 10 Sep 2005 15:24:57 +0000 Subject: [PATCH] add KERNEL vars SVN-Revision: 1883 --- openwrt/target/linux/linux-2.4/Makefile | 10 +--------- openwrt/target/linux/linux-2.6/Makefile | 5 +---- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/openwrt/target/linux/linux-2.4/Makefile b/openwrt/target/linux/linux-2.4/Makefile index ca00a327fb..e5e25d6ab7 100644 --- a/openwrt/target/linux/linux-2.4/Makefile +++ b/openwrt/target/linux/linux-2.4/Makefile @@ -1,18 +1,10 @@ -############################################################# # $Id$ -# # Linux 2.4 kernel target for the OpenWRT project -# -# patches are sorted by numbers -# 0xx needed patches for board, cpu, filesystem -# 1xx addon patches for new features (netfilter, ebtables, cifs,..) -# 2xx compile fixes, driver fixes -# -############################################################# include $(TOPDIR)/rules.mk include ../rules.mk +KERNEL:=2.4 LINUX_VERSION:=2.4.30 MODULES_SUBDIR:=lib/modules/$(LINUX_VERSION) LINUX_KCONFIG:=./config/$(BOARD) diff --git a/openwrt/target/linux/linux-2.6/Makefile b/openwrt/target/linux/linux-2.6/Makefile index aa307ee0ab..72a0e7896e 100644 --- a/openwrt/target/linux/linux-2.6/Makefile +++ b/openwrt/target/linux/linux-2.6/Makefile @@ -1,13 +1,10 @@ -############################################################# # $Id$ -# # Linux 2.6 kernel target for the OpenWRT project -# -############################################################# include $(TOPDIR)/rules.mk include ../rules.mk +KERNEL:=2.6 LINUX_VERSION:=2.6.12.5 LINUX_KERNEL_MD5SUM:=x LINUX_SITE=http://www.fi.kernel.org/pub/linux/kernel/v2.6 \