summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-27 13:08:53 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-27 13:08:53 +0000
commit55390f2a7b5657a6441b98526b80e5ebb785510e (patch)
treef84d0f3028b4e40bb8201d869da7c7995cf46eb0
parent037c076deee4551bfedb2fedda4a9528361793d1 (diff)
fix LINUX_RELEASE and use it for the kmod-* build
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4687 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/kernel.mk2
-rw-r--r--package/kernel/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index c788bf1c49..bd558ceec7 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -16,7 +16,7 @@ else
# check to see if .kernel.mk matches target.mk
ifeq ($(CONFIG_BOARD)-$(CONFIG_KERNEL),$(BOARD)-$(KERNEL))
LINUX_VERSION:=$(CONFIG_LINUX_VERSION)
- RELEASE:=$(CONFIG_RELEASE)
+ LINUX_RELEASE:=$(CONFIG_LINUX_RELEASE)
else
# oops, old .kernel.config; rebuild it (hiding the misleading errors this produces)
$(warning rebuilding .kernel.mk)
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index b59649ddac..f43f4fdf69 100644
--- a/package/kernel/Makefile
+++ b/package/kernel/Makefile
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=kernel
PKG_VERSION:=$(LINUX_VERSION)-$(BOARD)
-PKG_RELEASE:=1
+PKG_RELEASE:=$(LINUX_RELEASE)
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages