[PATCH 25/25] Merge libpci/Makefile.am into cpukit/Makefile.am

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 14 13:18:53 UTC 2018


---
 cpukit/Makefile.am        | 26 ++++++++++++++++++++++++++
 cpukit/configure.ac       |  1 -
 cpukit/wrapup/Makefile.am |  4 ----
 3 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index c9c61fdb36..6675f9d38a 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -500,6 +500,32 @@ libcpukit_a_SOURCES += libfs/src/nfsclient/src/xdr_mbuf.c
 
 endif
 
+if LIBPCI
+
+libcpukit_a_SOURCES += libpci/pci_access.c
+libcpukit_a_SOURCES += libpci/pci_access_func.c
+libcpukit_a_SOURCES += libpci/pci_access_io.c
+libcpukit_a_SOURCES += libpci/pci_access_mem_be.c
+libcpukit_a_SOURCES += libpci/pci_access_mem.c
+libcpukit_a_SOURCES += libpci/pci_access_mem_le.c
+libcpukit_a_SOURCES += libpci/pci_bus.c
+libcpukit_a_SOURCES += libpci/pci_cfg_auto.c
+libcpukit_a_SOURCES += libpci/pci_cfg.c
+libcpukit_a_SOURCES += libpci/pci_cfg_peripheral.c
+libcpukit_a_SOURCES += libpci/pci_cfg_print_code.c
+libcpukit_a_SOURCES += libpci/pci_cfg_read.c
+libcpukit_a_SOURCES += libpci/pci_cfg_static.c
+libcpukit_a_SOURCES += libpci/pci_find.c
+libcpukit_a_SOURCES += libpci/pci_find_dev.c
+libcpukit_a_SOURCES += libpci/pci_for_each.c
+libcpukit_a_SOURCES += libpci/pci_for_each_child.c
+libcpukit_a_SOURCES += libpci/pci_for_each_dev.c
+libcpukit_a_SOURCES += libpci/pci_get_dev.c
+libcpukit_a_SOURCES += libpci/pci_irq.c
+libcpukit_a_SOURCES += libpci/pci_print.c
+
+endif
+
 if SHA
 
 libcpukit_a_SOURCES += libmd/sha256c.c
diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index edc2ac9410..a1061f00b7 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -498,7 +498,6 @@ score/cpu/x86_64/Makefile
 score/cpu/no_cpu/Makefile
 posix/Makefile
 libnetworking/Makefile
-libpci/Makefile
 librpc/Makefile
 libmisc/Makefile
 libstdthreads/Makefile
diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am
index 3771f9b010..1b301bc119 100644
--- a/cpukit/wrapup/Makefile.am
+++ b/cpukit/wrapup/Makefile.am
@@ -56,10 +56,6 @@ endif
 TMP_LIBS += ../libmisc/libuuid.a
 TMP_LIBS += ../libmisc/libxz.a
 
-if LIBPCI
-TMP_LIBS += ../libpci/libpci.a
-endif
-
 if LIBNETWORKING
 TMP_LIBS += ../libnetworking/libnetworking.a
 TMP_LIBS += ../librpc/librpc.a
-- 
2.13.7




More information about the devel mailing list