summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-12 07:32:06 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-15 07:22:29 +0100
commit0d08844af90d650ab83a28c4093e0aed3095ff9d (patch)
treef181fafa34abf79c6bf797bf6321267605ac505d
parentlibchip: Use public include path (diff)
downloadrtems-0d08844af90d650ab83a28c4093e0aed3095ff9d.tar.bz2
bsps: Add AM_CPPFLAGS to special case CPPFLAGS
This is necessary to pick up mandatory flags provided by the build system. Update #3254.
-rw-r--r--c/src/lib/libcpu/powerpc/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/Makefile.am b/c/src/lib/libcpu/powerpc/Makefile.am
index 3779ddc6c7..5f8ee9f6c6 100644
--- a/c/src/lib/libcpu/powerpc/Makefile.am
+++ b/c/src/lib/libcpu/powerpc/Makefile.am
@@ -379,7 +379,7 @@ include_bsp_HEADERS += mpc83xx/network/tsec.h
if HAS_NETWORKING
noinst_PROGRAMS += mpc83xx/tsec.rel
mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c
-mpc83xx_tsec_rel_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
+mpc83xx_tsec_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
endif
@@ -491,7 +491,7 @@ include_bsp_HEADERS += mpc83xx/network/tsec.h
if HAS_NETWORKING
noinst_PROGRAMS += tsec.rel
tsec_rel_SOURCES = mpc83xx/network/tsec.c
-tsec_rel_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
+tsec_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
endif