[rtems commit] mpci: Avoid use of RTEMS_RELLDFLAGS

Sebastian Huber sebh at rtems.org
Thu Mar 22 07:43:20 UTC 2018


Module:    rtems
Branch:    master
Commit:    28a6bb89fb370398ce3a322c4e0915a08f7f8db2
Changeset: http://git.rtems.org/rtems/commit/?id=28a6bb89fb370398ce3a322c4e0915a08f7f8db2

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Mar 22 06:36:11 2018 +0100

mpci: Avoid use of RTEMS_RELLDFLAGS

---

 c/src/libchip/Makefile.am | 7 +++----
 c/src/wrapup/Makefile.am  | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/c/src/libchip/Makefile.am b/c/src/libchip/Makefile.am
index 1c2532e..895c1ef 100644
--- a/c/src/libchip/Makefile.am
+++ b/c/src/libchip/Makefile.am
@@ -79,12 +79,11 @@ EXTRA_DIST += serial/README.mc68681 serial/README.ns16550 \
 
 ## shmdr
 if HAS_MP
-project_lib_PROGRAMS = shmdr.rel
-shmdr_rel_SOURCES = shmdr/addlq.c shmdr/cnvpkt.c shmdr/getlq.c shmdr/dump.c \
+noinst_LIBRARIES += libshmdr.a
+libshmdr_a_CPPFLAGS = $(AM_CPPFLAGS)
+libshmdr_a_SOURCES = shmdr/addlq.c shmdr/cnvpkt.c shmdr/getlq.c shmdr/dump.c \
     shmdr/fatal.c shmdr/getpkt.c shmdr/init.c shmdr/initlq.c shmdr/intr.c \
     shmdr/mpisr.c shmdr/poll.c shmdr/receive.c shmdr/retpkt.c shmdr/send.c
-shmdr_rel_CPPFLAGS = $(AM_CPPFLAGS)
-shmdr_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 endif
 
 EXTRA_DIST += shmdr/README
diff --git a/c/src/wrapup/Makefile.am b/c/src/wrapup/Makefile.am
index 02713d7..43f6ad8 100644
--- a/c/src/wrapup/Makefile.am
+++ b/c/src/wrapup/Makefile.am
@@ -31,7 +31,7 @@ SRCS += ../libchip/libi2cio.a
 SRCS += ../libchip/libdisplay.a
 
 if HAS_MP
-SRCS += ../libchip/shmdr.rel
+SRCS += ../libchip/libshmdr.a
 endif
 
 o-optimize/librtemsbsp.a: $(SRCS)



More information about the vc mailing list