From 7c986ba5b0ab45485b61fe56ba73abe1fa2507ed Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 4 Jan 2014 19:57:33 +0100 Subject: Multiarch support. Run 'ARCH=amd64 make' to preseed an AMD64 ISO image, etc. --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fbb39b4..910689b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,11 @@ -ARCH ?= $(shell uname -m | sed -e 's/^x86_64$$/amd64/' -e 's/^i686$$/i386/') +ARCH ?= $(shell uname -m) +ifeq (${ARCH}, x86_64) +ARCH = amd64 +endif +ifeq (${ARCH}, i686) +ARCH = i386 +endif + VERSION = 7.3.0 ISOIMG = debian-${VERSION}-${ARCH}-netinst.iso -- cgit v1.2.3