summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-26 13:26:02 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-26 13:26:02 +0000
commit24458ad0c5c40f0073a162b5e192527eaba00006 (patch)
treef35434c0a29e4339f6742c4d65072d2911d04897
parent6b9dfc5e20907df3c2d00331cd10ae8a0e3247d8 (diff)
include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/kernel-build.mk1
-rw-r--r--include/kernel.mk2
-rw-r--r--toolchain/kernel-headers/Makefile1
3 files changed, 2 insertions, 2 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 8750bb4fd..0d3b40e16 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -6,7 +6,6 @@
#
KERNEL_BUILD:=1
-include $(INCLUDE_DIR)/kernel-version.mk
include $(INCLUDE_DIR)/host.mk
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/prereq.mk
diff --git a/include/kernel.mk b/include/kernel.mk
index 817555cf0..b148ae9e8 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -5,6 +5,8 @@
# See /LICENSE for more information.
#
+include $(INCLUDE_DIR)/kernel-version.mk
+
ifeq ($(DUMP),1)
KERNEL?=<KERNEL>
BOARD?=<BOARD>
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 011ec959c..cb7ed491e 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -14,7 +14,6 @@ BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
override QUILT:=
include $(INCLUDE_DIR)/kernel.mk
-include $(INCLUDE_DIR)/kernel-version.mk
PKG_NAME:=linux
PKG_VERSION:=$(LINUX_VERSION)