mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
Merge pull request #17553 from gschorcht/makefiles/libc_newlib_nano_dir
makefiles/libc/newlibc: allow toolchains with nano version only
This commit is contained in:
commit
db0a984ca7
@ -94,11 +94,9 @@ ifeq (1,$(USE_NEWLIB_NANO))
|
||||
$(NEWLIB_INCLUDE_DIR)/newlib/nano \
|
||||
$(NEWLIB_INCLUDE_DIR)/nano))
|
||||
|
||||
ifeq (,$(NEWLIB_NANO_INCLUDE_DIR))
|
||||
$(error USE_NEWLIB_NANO==1 but nano include folder not found!)
|
||||
ifneq (,$(NEWLIB_NANO_INCLUDE_DIR))
|
||||
# newlib-nano overrides newlib.h and its include dir should therefore go before
|
||||
# the regular system include dirs.
|
||||
INCLUDES := -isystem $(NEWLIB_NANO_INCLUDE_DIR) $(INCLUDES)
|
||||
endif
|
||||
|
||||
# newlib-nano overrides newlib.h and its include dir should therefore go before
|
||||
# the regular system include dirs.
|
||||
INCLUDES := -isystem $(NEWLIB_NANO_INCLUDE_DIR) $(INCLUDES)
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user