kernel: don't disable stack validation in cross builds
c3e31b6a9b(2019-07-03),5f8e587240(2019-10-02), and802bfe0806(2022-10-20) disabled kernel stack validation when the build host was not running Linux, as the objtool kernel build tool required for stack validation was not portable to other build host environments. This is no longer true, and it is not necessary to attempt to disable kernel stack validation any longer. Signed-off-by: Mark Mentovai <mark@mentovai.com> Link: https://github.com/openwrt/openwrt/pull/23612 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
f5c5ccd236
commit
b3601af4e4
@ -129,11 +129,6 @@ ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL
|
|||||||
KERNELRELEASE=$(LINUX_VERSION)
|
KERNELRELEASE=$(LINUX_VERSION)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(HOST_OS),Linux)
|
|
||||||
KERNEL_MAKE_FLAGS += CONFIG_STACK_VALIDATION=
|
|
||||||
export SKIP_STACK_VALIDATION:=1
|
|
||||||
endif
|
|
||||||
|
|
||||||
KERNEL_MAKEOPTS = -C $(LINUX_DIR) $(KERNEL_MAKE_FLAGS)
|
KERNEL_MAKEOPTS = -C $(LINUX_DIR) $(KERNEL_MAKE_FLAGS)
|
||||||
|
|
||||||
ifdef CONFIG_USE_SPARSE
|
ifdef CONFIG_USE_SPARSE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user