[rtems commit] build: Merge libpci/Makefile.am
Sebastian Huber
sebh at rtems.org
Wed Oct 10 12:02:12 UTC 2018
Module: rtems
Branch: master
Commit: c38d5177a9dc4d1cd671b0624e1ab7502faa076e
Changeset: http://git.rtems.org/rtems/commit/?id=c38d5177a9dc4d1cd671b0624e1ab7502faa076e
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Sep 14 06:43:35 2018 +0200
build: Merge libpci/Makefile.am
---
cpukit/Makefile.am | 27 ++++++++++++++++++++++++++-
cpukit/configure.ac | 1 -
cpukit/libpci/Makefile.am | 35 -----------------------------------
cpukit/wrapup/Makefile.am | 4 ----
4 files changed, 26 insertions(+), 41 deletions(-)
diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index 5c1296f..8bae5ef 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 edc2ac9..a1061f0 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 afe547a..0000000
--- 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 3771f9b..1b301bc 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
More information about the vc
mailing list