major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2007-09-08 19:55:42 +00:00
parent 9647361f81
commit 6bcd07afdd
95 changed files with 345 additions and 351 deletions

View File

@@ -1,11 +1,9 @@
# Use the default kernel version if the Makefile doesn't override it
ifeq ($(LINUX_VERSION),)
ifeq ($(KERNEL),2.4)
LINUX_VERSION:=2.4.34
else
LINUX_VERSION:=2.6.21.5
endif
ifeq ($(KERNEL),2.4)
LINUX_VERSION?=2.4.34
else
LINUX_VERSION?=2.6.21.5
endif
LINUX_RELEASE?=1
@@ -22,6 +20,6 @@ endif
# disable the md5sum check for unknown kernel versions
LINUX_KERNEL_MD5SUM?=x
KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
KERNEL_PATCHVER:=$(shell echo $(LINUX_VERSION) | cut -d. -f1,2,3 | cut -d- -f1)
KERNEL?=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
KERNEL_PATCHVER=$(shell echo $(LINUX_VERSION) | cut -d. -f1,2,3 | cut -d- -f1)