summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-10-30 08:42:12 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-10-30 08:42:12 +0000
commitac282a76c1ee5e4b14d16a38fafa55e0338e7bd4 (patch)
tree15af6316c5d0c194fc41e29fd26004108933269a
parent945fddc7af0d1e889d2dffc68caa44a71063810e (diff)
downloaddrakx-backup-do-not-use-ac282a76c1ee5e4b14d16a38fafa55e0338e7bd4.tar
drakx-backup-do-not-use-ac282a76c1ee5e4b14d16a38fafa55e0338e7bd4.tar.gz
drakx-backup-do-not-use-ac282a76c1ee5e4b14d16a38fafa55e0338e7bd4.tar.bz2
drakx-backup-do-not-use-ac282a76c1ee5e4b14d16a38fafa55e0338e7bd4.tar.xz
drakx-backup-do-not-use-ac282a76c1ee5e4b14d16a38fafa55e0338e7bd4.zip
Add PCMCIA support to AMD64
-rw-r--r--perl-install/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index d8b9d4d65..863d580ff 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -12,6 +12,14 @@ OTHERS = $(OTHERDIRS) $(OTHERFILES)
OTHERDIRS = tools/ddcprobe tools/serial_probe
OTHERFILES = tools/rpcinfo-flushed.c
+USE_PCMCIA := n
+ifeq ($(ARCH),i386)
+USE_PCMCIA := y
+endif
+ifeq ($(ARCH),x86_64)
+USE_PCMCIA := y
+endif
+
.PHONY: all $(DIRS) install clean stage2 full_stage2
all: list_modules.pm TAGS $(DIRS)
@@ -190,7 +198,7 @@ endif
# echo -e '#!/bin/sh\n\nexec "/usr/bin/sh"' > $(DEST)/usr/bin/runinstall2
# chmod a+x $(DEST)/usr/bin/runinstall2
-ifeq (i386,$(ARCH))
+ifeq (y,$(USE_PCMCIA))
cp -a /etc/pcmcia $(DEST)/etc
../tools/patch_pcmcia_config.pl $(DEST)/etc/pcmcia/config ../kernel/all.modules/`cat ../kernel/all.kernels/.main`/modules.dep
endif