Advertisement
Guest User

Untitled

a guest
Oct 26th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.54 KB | None | 0 0
  1. diff --git a/include/kernel.mk b/include/kernel.mk
  2. index e4074a48f4..2fd18d8a3b 100644
  3. --- a/include/kernel.mk
  4. +++ b/include/kernel.mk
  5. @@ -137,6 +137,12 @@ ifneq ($(HOST_OS),Linux)
  6.    export SKIP_STACK_VALIDATION:=1
  7.  endif
  8.  
  9. +ifeq ($(SDK):$(wildcard $(LINUX_DIR)/tools/objtool/objtool),1:)
  10. +  $(warning WARNING: Disabling CONFIG_STACK_VALIDATION due to missing objtool)
  11. +  KERNEL_MAKEOPTS += CONFIG_STACK_VALIDATION=
  12. +  export SKIP_STACK_VALIDATION:=1
  13. +endif
  14. +
  15.  PKG_EXTMOD_SUBDIRS ?= .
  16.  
  17.  PKG_SYMVERS_DIR = $(KERNEL_BUILD_DIR)/symvers
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement