summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/Makefile
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2002-03-29 23:03:17 +0000
committermurray <murray@FreeBSD.org>2002-03-29 23:03:17 +0000
commit41b83afa5653182a481068caaf1c4ddd99ef3793 (patch)
tree6cdb8acff66e199590f5c4adb25ac58065d4c2f2 /usr.sbin/sysinstall/Makefile
parente27cdad86b33fbd4bf417817edfc51955552a318 (diff)
downloadFreeBSD-src-41b83afa5653182a481068caaf1c4ddd99ef3793.zip
FreeBSD-src-41b83afa5653182a481068caaf1c4ddd99ef3793.tar.gz
Only build and link the pccard module on architectures that support it (and
that have room for pccardd on mfsroot.flp).
Diffstat (limited to 'usr.sbin/sysinstall/Makefile')
-rw-r--r--usr.sbin/sysinstall/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile
index ec921e0..2320d95 100644
--- a/usr.sbin/sysinstall/Makefile
+++ b/usr.sbin/sysinstall/Makefile
@@ -6,10 +6,14 @@ SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c \
disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c \
ftp.c globals.c http.c index.c install.c installUpgrade.c keymap.c \
label.c main.c makedevs.c media.c menus.c misc.c modules.c \
- mouse.c msg.c network.c nfs.c options.c package.c pccard.c \
+ mouse.c msg.c network.c nfs.c options.c package.c \
system.c tape.c tcpip.c termcap.c ttys.c ufs.c usb.c user.c \
variable.c wizard.c keymap.h
+.if ${MACHINE_ARCH} == "i386"
+SRCS+= pccard.c
+.endif
+
CFLAGS+= -I${.CURDIR}/../../gnu/lib/libdialog -I.
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
OpenPOWER on IntegriCloud