summaryrefslogtreecommitdiffstats
path: root/Makefile.config
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-05-14 06:56:43 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-05-14 07:11:11 +0200
commit0acaf5127ede7fc0eac16c950e4a450e76962ff9 (patch)
tree0230245f222f5b698247f445a1a650077f2cc5ab /Makefile.config
parentd1428ab987921f077b67a82b3aa3d569e1bfabce (diff)
downloaddrakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.tar
drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.tar.gz
drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.tar.bz2
drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.tar.xz
drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.zip
further simplify through substitution references
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.config b/Makefile.config
index ae1d66555..dabf65a5b 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -8,10 +8,10 @@ DISTRIB_DESCR = "$(_DISTRIB_NAME) release $(DISTRIB_VERSION)"
# not config, but useful everywhere :)
ARCH := $(patsubst i%86,i386,$(shell uname -m))
-ARCH := $(patsubst sparc%,sparc,$(ARCH))
-ARCH := $(patsubst arm%,arm,$(ARCH))
+ARCH := $(ARCH:sparc%=sparc)
+ARCH := $(ARCH:arm%=arm)
-PKG_ARCH := $(patsubst i386,i586,$(ARCH))
+PKG_ARCH := $(ARCH:i386=i586)
ifeq (x86_64, $(ARCH))
LIB = lib64