1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #9243 from cladmi/pr/warning/missing_include_dirs

makefiles/cflags.inc.mk: add -Wmissing-include-dirs flag
This commit is contained in:
Gaëtan Harter 2018-06-18 13:13:54 +02:00 committed by GitHub
commit acef97aa15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 11 deletions

View File

@ -229,7 +229,7 @@ export PREFIX ?= $(if $(TARGET_ARCH),$(TARGET_ARCH)-)
# Add standard include directories
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
INCLUDES += -I$(RIOTCPU)/$(CPU)/include
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
INCLUDES += $(addprefix -I,$(wildcard $(RIOTBOARD)/$(BOARD)/include))
# process provided features
-include $(RIOTBOARD)/$(BOARD)/Makefile.features

View File

@ -60,6 +60,9 @@ CFLAGS += -fno-common
# Enable all default warnings
CFLAGS += -Wall
# Warn if a user-supplied include directory does not exist.
CFLAGS += -Wmissing-include-dirs
ifeq (,$(filter -DDEVELHELP,$(CFLAGS)))
ifneq (1,$(FORCE_ASSERTS))
CFLAGS += -DNDEBUG

View File

@ -1,3 +1,2 @@
INCLUDES += -I$(PKGDIRBASE)/libcoap \
-I$(RIOTBASE)/sys/posix/include \
-I$(RIOTBASE)/sys/net/include
-I$(RIOTBASE)/sys/posix/include

View File

@ -1,7 +1,6 @@
OPENTHREAD_DIR = $(RIOTBASE)/pkg/openthread
INCLUDES += -I$(OPENTHREAD_DIR)/include \
-I$(OPENTHREAD_DIR)/include/openthread \
-I$(BINDIRBASE)/pkg/$(BOARD)/openthread/output/include \
-I$(BINDIRBASE)/pkg/$(BOARD)/openthread/include/openthread \

View File

@ -3,9 +3,6 @@ PKG_URL = https://gitlab.com/mtausig/tiny-asn1.git
PKG_VERSION = 82e3a26273900b532e33e5b377f193fa08ee7d1b
PKG_LICENSE = LGPL-3
export TINYASN1_ROOT=$(CURDIR)
INCLUDES+=-I$(TINYASN1_ROOT)/src
.PHONY: all
all: git-download

View File

@ -6,10 +6,6 @@ ifneq (,$(filter cbor,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/cbor/include
endif
ifneq (,$(filter crypto,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/include/crypto
endif
ifneq (,$(filter fib,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/posix/include
endif