mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 10:49:40 +08:00
fix LINUX_RELEASE and use it for the kmod-* build
SVN-Revision: 4687
This commit is contained in:
parent
db69c09c86
commit
732eb10afa
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user