fix LINUX_RELEASE and use it for the kmod-* build
authorFelix Fietkau <nbd@openwrt.org>
Sun, 27 Aug 2006 13:08:53 +0000 (13:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 27 Aug 2006 13:08:53 +0000 (13:08 +0000)
SVN-Revision: 4687

openwrt/include/kernel.mk
openwrt/package/kernel/Makefile

index c788bf1c49092d4ce05b4a95ebad7a878a639396..bd558ceec731f4335940253ea59c05da5b126f77 100644 (file)
@@ -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)
index b59649ddacbf551979c8a69e2405caa25154b220..f43f4fdf69362db7713e6ad5876d12d5347a12a0 100644 (file)
@@ -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