diff --git a/include/kernel.mk b/include/kernel.mk index 8dfe903bcc..975cf455c4 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -129,6 +129,10 @@ ifdef CONFIG_USE_SPARSE KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse endif +ifeq ($(HOST_OS),Darwin) + export SKIP_STACK_VALIDATION:=1 +endif + PKG_EXTMOD_SUBDIRS ?= . define populate_module_symvers