Bluetooth: AT: Unit: Fixup include search path
Because of the way we build we can't expect relative paths back into the Zephyr code base to work properlly. This just happens to work on some systems because of the various -I that exist and one hits the right number of subdirs between it and where the "at.h" lives. Lets instead add the Zephyr root as a include path and explicit do a relative path from the root to get the header. We end up with a build failure with newlib enabled on galileo because it ends up not having an include path that gets us to the proper spot with the various ../../.. ... Change-Id: I48b4dc2dffb76314f380efbcbbe25957ff5e9e07 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
f52a0341ba
commit
a87e6e1cce
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
obj-y = main.o
|
obj-y = main.o
|
||||||
ccflags-y += -I${ZEPHYR_BASE}/subsys
|
ccflags-y += -I${ZEPHYR_BASE}
|
||||||
|
|
||||||
include $(ZEPHYR_BASE)/tests/Makefile.test
|
include $(ZEPHYR_BASE)/tests/Makefile.test
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
#include <net/buf.h>
|
#include <net/buf.h>
|
||||||
|
|
||||||
#include "../../../../subsys/bluetooth/host/at.h"
|
#include "subsys/bluetooth/host/at.h"
|
||||||
|
|
||||||
#include <ztest.h>
|
#include <ztest.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue