summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-14 06:43:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-10 07:53:50 +0200
commitc38d5177a9dc4d1cd671b0624e1ab7502faa076e (patch)
tree707535c18d62e106b14dbe1888efcbd6723d3e94 /cpukit
parentbuild: Merge libmd/Makefile.am (diff)
downloadrtems-c38d5177a9dc4d1cd671b0624e1ab7502faa076e.tar.bz2
build: Merge libpci/Makefile.am
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/Makefile.am27
-rw-r--r--cpukit/configure.ac1
-rw-r--r--cpukit/libpci/Makefile.am35
-rw-r--r--cpukit/wrapup/Makefile.am4
4 files changed, 26 insertions, 41 deletions
diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index 5c1296f1e3..8bae5ef982 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -488,6 +488,32 @@ libcpukit_a_SOURCES += libgnat/adasupp.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
@@ -531,7 +557,6 @@ all-local: generate-vc-key
# librtemscpu
_SUBDIRS = . score rtems posix
_SUBDIRS += libnetworking librpc
-_SUBDIRS += libpci
_SUBDIRS += libmisc
_SUBDIRS += libstdthreads
_SUBDIRS += wrapup
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/libpci/Makefile.am b/cpukit/libpci/Makefile.am
deleted file mode 100644
index afe547a0bb..0000000000
--- a/cpukit/libpci/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-include $(top_srcdir)/automake/compile.am
-include $(top_srcdir)/automake/multilib.am
-
-if LIBPCI
-
-
-## PCI Library
-noinst_LIBRARIES = libpci.a
-
-libpci_a_SOURCES = pci_access.c
-libpci_a_SOURCES += pci_access_func.c
-libpci_a_SOURCES += pci_access_io.c
-libpci_a_SOURCES += pci_access_mem.c
-libpci_a_SOURCES += pci_access_mem_be.c
-libpci_a_SOURCES += pci_access_mem_le.c
-libpci_a_SOURCES += pci_cfg.c
-libpci_a_SOURCES += pci_cfg_auto.c
-libpci_a_SOURCES += pci_cfg_print_code.c
-libpci_a_SOURCES += pci_cfg_read.c
-libpci_a_SOURCES += pci_cfg_static.c
-libpci_a_SOURCES += pci_cfg_peripheral.c
-libpci_a_SOURCES += pci_find.c
-libpci_a_SOURCES += pci_find_dev.c
-libpci_a_SOURCES += pci_for_each.c
-libpci_a_SOURCES += pci_for_each_dev.c
-libpci_a_SOURCES += pci_for_each_child.c
-libpci_a_SOURCES += pci_get_dev.c
-libpci_a_SOURCES += pci_irq.c
-libpci_a_SOURCES += pci_print.c
-
-# Driver manager PCI bus
-libpci_a_SOURCES += pci_bus.c
-endif
-
-include $(top_srcdir)/automake/local.am
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