mirror of https://github.com/hak5/openwrt-owl.git
build: Fix not altering KERNELRELEASE for external kernel
When an external kernel tree is used the version should not get modified by the LEDE build scripts. This was added by Florian some time ago. The commitowl0aed054bec
("build: add KERNEL_MAKE and KERNEL_MAKE_FLAGS variables and move to kernel.mk") breaks this feature introduced inb6746a6ffb
("include: Do not alter KERNELRELEASE for external/git kernels"). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
parent
b5aaafe9a3
commit
3ce60ba0a1
|
@ -108,11 +108,10 @@ KERNEL_MAKE_FLAGS := \
|
||||||
CONFIG_SHELL="$(BASH)" \
|
CONFIG_SHELL="$(BASH)" \
|
||||||
$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \
|
$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \
|
||||||
$(if $(PKG_BUILD_ID),LDFLAGS_MODULE=--build-id=0x$(PKG_BUILD_ID)) \
|
$(if $(PKG_BUILD_ID),LDFLAGS_MODULE=--build-id=0x$(PKG_BUILD_ID)) \
|
||||||
KERNELRELEASE=$(LINUX_VERSION) \
|
|
||||||
cmd_syscalls=
|
cmd_syscalls=
|
||||||
|
|
||||||
ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),)
|
ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),)
|
||||||
KERNEL_MAKEOPTS += \
|
KERNEL_MAKE_FLAGS += \
|
||||||
KERNELRELEASE=$(LINUX_VERSION)
|
KERNELRELEASE=$(LINUX_VERSION)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue