summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-05-14 06:39:22 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-05-14 06:39:22 +0200
commitd1428ab987921f077b67a82b3aa3d569e1bfabce (patch)
treee154858e7b2c6c023ce87faa18349b46cc31c1e7 /mdk-stage1/Makefile
parent8ab73ffb80c89dc64296845d6e9c9532c8f8c631 (diff)
downloaddrakx-d1428ab987921f077b67a82b3aa3d569e1bfabce.tar
drakx-d1428ab987921f077b67a82b3aa3d569e1bfabce.tar.gz
drakx-d1428ab987921f077b67a82b3aa3d569e1bfabce.tar.bz2
drakx-d1428ab987921f077b67a82b3aa3d569e1bfabce.tar.xz
drakx-d1428ab987921f077b67a82b3aa3d569e1bfabce.zip
simplify using filter function
Diffstat (limited to 'mdk-stage1/Makefile')
-rw-r--r--mdk-stage1/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 2877960ab..b170b73d3 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -92,19 +92,8 @@ STAGE1OBJS-FULL = $(subst .c,-FULL.o,$(STAGE1_ALLSRC))
BINS = init stage1 dhcp-client rescue-gui probe-modules
DIRS += pci-resource usb-resource
-ifeq (i386, $(ARCH))
-DIRS += pcmcia pcmcia-resource
-endif
-ifeq (x86_64, $(ARCH))
+ifneq (,$(filter $(ARCH),i386 x86_64))
DIRS += pcmcia pcmcia-resource
-endif
-
-
-ifeq (i386,$(ARCH))
-PCMCIA_LIB = pcmcia/libpcmcia.a
-PCMCIA_DEFS = -DENABLE_PCMCIA
-endif
-ifeq (x86_64,$(ARCH))
PCMCIA_LIB = pcmcia/libpcmcia.a
PCMCIA_DEFS = -DENABLE_PCMCIA
endif