pkg/oonf_api: remove exporting CFLAGS and INCLUDES

CFLAGS and INCLUDES are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
This commit is contained in:
Gaëtan Harter 2019-08-27 16:06:41 +02:00
parent a68bf99086
commit 15e9812ffb
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
2 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ index 0000000..afbaf0f
+# this has to be the absolute path of the RIOT-base dir +# this has to be the absolute path of the RIOT-base dir
+export RIOTBASE =$(CURDIR)/../../../../../.. +export RIOTBASE =$(CURDIR)/../../../../../..
+ +
+export CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO +CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO
+ +
+## Modules to include. +## Modules to include.
+ +
@ -59,7 +59,7 @@ index 0000000..afbaf0f
+ error daemonize is not supported on RIOT + error daemonize is not supported on RIOT
+endif +endif
+ +
+export INCLUDES += -I$(CURDIR)/../.. +INCLUDES += -I$(CURDIR)/../..
+ +
+QUIET ?= 1 +QUIET ?= 1
+ +
@ -141,14 +141,14 @@ index 0000000..e472545
+# this has to be the absolute path of the RIOT-base dir +# this has to be the absolute path of the RIOT-base dir
+export RIOTBASE =$(CURDIR)/../../../../../.. +export RIOTBASE =$(CURDIR)/../../../../../..
+ +
+export CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO +CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO
+ +
+## Modules to include. +## Modules to include.
+USEMODULE += oonf_cunit +USEMODULE += oonf_cunit
+USEMODULE += oonf_common +USEMODULE += oonf_common
+USEMODULE += oonf_rfc5444 +USEMODULE += oonf_rfc5444
+ +
+export INCLUDES += -I$(CURDIR)/../.. +INCLUDES += -I$(CURDIR)/../..
+ +
+QUIET ?= 1 +QUIET ?= 1
+ +

View File

@ -31,7 +31,7 @@ index 0000000..9d5653d
+# this has to be the absolute path of the RIOT-base dir +# this has to be the absolute path of the RIOT-base dir
+export RIOTBASE =$(CURDIR)/../../../../.. +export RIOTBASE =$(CURDIR)/../../../../..
+ +
+export CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO +CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO
+ +
+## Modules to include. +## Modules to include.
+ +