mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #13720 from aabadie/pr/native_no_export
native: only export NATIVEINCLUDES in vars.inc.mk
This commit is contained in:
commit
d60295db3c
@ -1,7 +1,7 @@
|
||||
export NATIVEINCLUDES += -DNATIVE_INCLUDES
|
||||
export NATIVEINCLUDES += -I$(RIOTBOARD)/native/include/
|
||||
export NATIVEINCLUDES += -I$(RIOTBASE)/core/include/
|
||||
export NATIVEINCLUDES += -I$(RIOTBASE)/drivers/include/
|
||||
NATIVEINCLUDES += -DNATIVE_INCLUDES
|
||||
NATIVEINCLUDES += -I$(RIOTBOARD)/native/include/
|
||||
NATIVEINCLUDES += -I$(RIOTBASE)/core/include/
|
||||
NATIVEINCLUDES += -I$(RIOTBASE)/drivers/include/
|
||||
|
||||
ifeq ($(OS),Darwin)
|
||||
DEBUGGER ?= lldb
|
||||
@ -92,7 +92,7 @@ debug-valgrind-server: export VALGRIND_FLAGS ?= --vgdb=yes --vgdb-error=0 -v \
|
||||
term-cachegrind: export CACHEGRIND_FLAGS += --tool=cachegrind
|
||||
term-gprof: TERMPROG = GMON_OUT_PREFIX=gmon.out $(ELFFILE)
|
||||
all-valgrind: CFLAGS += -DHAVE_VALGRIND_H
|
||||
all-valgrind: export NATIVEINCLUDES += $(shell pkg-config valgrind --cflags)
|
||||
all-valgrind: NATIVEINCLUDES += $(shell pkg-config valgrind --cflags)
|
||||
all-gprof: CFLAGS += -pg
|
||||
all-gprof: LINKFLAGS += -pg
|
||||
all-asan: CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
|
@ -1,8 +1,8 @@
|
||||
export NATIVEINCLUDES += -I$(RIOTCPU)/native/include -I$(RIOTBASE)/sys/include
|
||||
NATIVEINCLUDES += -I$(RIOTCPU)/native/include -I$(RIOTBASE)/sys/include
|
||||
|
||||
# Local include for OSX
|
||||
ifeq ($(BUILDOSXNATIVE),1)
|
||||
export NATIVEINCLUDES += -I$(RIOTCPU)/native/osx-libc-extra
|
||||
NATIVEINCLUDES += -I$(RIOTCPU)/native/osx-libc-extra
|
||||
endif
|
||||
|
||||
USEMODULE += periph
|
||||
|
1
dist/tools/buildsystem_sanity_check/check.sh
vendored
1
dist/tools/buildsystem_sanity_check/check.sh
vendored
@ -96,6 +96,7 @@ EXPORTED_VARIABLES_ONLY_IN_VARS=()
|
||||
EXPORTED_VARIABLES_ONLY_IN_VARS+=('APPDEPS')
|
||||
EXPORTED_VARIABLES_ONLY_IN_VARS+=('CPU_ARCH')
|
||||
EXPORTED_VARIABLES_ONLY_IN_VARS+=('CPU_FAM')
|
||||
EXPORTED_VARIABLES_ONLY_IN_VARS+=('NATIVEINCLUDES')
|
||||
EXPORTED_VARIABLES_ONLY_IN_VARS+=('UNDEF')
|
||||
EXPORTED_VARIABLES_ONLY_IN_VARS+=('USEMODULE')
|
||||
EXPORTED_VARIABLES_ONLY_IN_VARS+=('TARGET_ARCH')
|
||||
|
@ -17,6 +17,7 @@ export CPU_FAM # An intermediate identifier between CPU and CPU_MO
|
||||
export MCU # The MCU, set by the board's Makefile.include, or defaulted to the same value as CPU.
|
||||
export INCLUDES # The extra include paths, set by the various Makefile.include files.
|
||||
export CXXINCLUDES # The extra include paths for c++, set by the various Makefile.include files.
|
||||
export NATIVEINCLUDES # The native include paths, set by the various native Makefile.include files.
|
||||
|
||||
export USEMODULE # Sys Module dependencies of the application. Set in the application's Makefile.
|
||||
export USEPKG # Pkg dependencies (third party modules) of the application. Set in the application's Makefile.
|
||||
|
Loading…
Reference in New Issue
Block a user