diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-03 21:45:44 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-03 21:45:44 +0100 |
commit | 9cf19f93324f1a7adfc5c386050d21ce6d661203 (patch) | |
tree | 23843074b216ac0406284afa33074c3a9c04ed73 /Makefile | |
parent | 513e5f1def6e019613430d2ffed952da470fb801 (diff) | |
download | hurd-9cf19f93324f1a7adfc5c386050d21ce6d661203.tar.gz hurd-9cf19f93324f1a7adfc5c386050d21ce6d661203.tar.bz2 hurd-9cf19f93324f1a7adfc5c386050d21ce6d661203.zip |
pciaccess: properly detect and use
* configure.ac: Detect pciaccess pkg module. Define HAVE_LIBPCIACCESS,
libpciaccess_CFLAGS, libpciaccess_LIBS variables.
* config.make.in (HAVE_LIBPCIACCESS, libpciaccess_CFLAGS,
libpciaccess_LIBS): Add variables.
* Makefile (prog-subdirs) [!HAVE_LIBPCIACCESS]: Do not add pci-arbiter.
* pci-arbiter/Makefile (LDLIBS): Use $(libpciaccess_LIBS) instead of
-lpciaccess.
(CFLAGS): Use $(libpciaccess_CFLAGS).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -45,7 +45,6 @@ prog-subdirs = auth proc exec term \ init \ devnode \ eth-multiplexer \ - pci-arbiter \ acpi \ shutdown @@ -57,6 +56,10 @@ ifeq ($(HAVE_LIBLWIP),yes) prog-subdirs += lwip endif +ifeq ($(HAVE_LIBPCIACCESS),yes) +prog-subdirs += pci-arbiter +endif + # Other directories other-subdirs = hurd doc config release include |