summaryrefslogtreecommitdiffstats
path: root/loader2/Makefile
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-11-22 00:12:14 +0000
committerJeremy Katz <katzj@redhat.com>2003-11-22 00:12:14 +0000
commit91e7edf0bfe395d7a39e18a4bac56a98f9f59266 (patch)
treed4b16e3f496f5f094c3f426e5f58899f70166fe8 /loader2/Makefile
parent2eb8babb2d31a6ca7716a9108aeed29ed06f2b63 (diff)
downloadanaconda-91e7edf0bfe395d7a39e18a4bac56a98f9f59266.tar.gz
anaconda-91e7edf0bfe395d7a39e18a4bac56a98f9f59266.tar.xz
anaconda-91e7edf0bfe395d7a39e18a4bac56a98f9f59266.zip
switch to using kudzu's probeDevices() instead of the isys knownDevices
list everywhere. stop passing around kd. link with libpci_loader (built with diet) on diet arches to avoid dirent incompatibilities
Diffstat (limited to 'loader2/Makefile')
-rw-r--r--loader2/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/loader2/Makefile b/loader2/Makefile
index ccc7946b1..82c7c4c5b 100644
--- a/loader2/Makefile
+++ b/loader2/Makefile
@@ -26,7 +26,12 @@ NETOBJS = net.o urls.o ftp.o telnet.o telnetd.o
PCMCIAOBJS = pcmcia.o $(NETOBJS)
SOURCES = $(subst .o,.c,$(OBJS)) loader.c
-HWLIBS = -lkudzu_loader -lpci
+HWLIBS = -lkudzu_loader
+ifeq (1, $(USEDIET))
+HWLIBS += -lpci_loader
+else
+HWLIBS += -lpci
+endif
DEBUG = -ggdb
COPTS = $(DEBUG) -Os -Wall -DUSE_LOGDEV -DVERSION='"$(VERSION)"' -Werror