diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-01-04 19:57:33 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 04:27:53 +0200 |
commit | 7c986ba5b0ab45485b61fe56ba73abe1fa2507ed (patch) | |
tree | 1fe9dbee88283e3360edad05c2ba4ccf47c2078a /Makefile | |
parent | 5c0479ac14755429bc65c47eafec3e2bfb72431f (diff) |
Multiarch support.
Run 'ARCH=amd64 make' to preseed an AMD64 ISO image, etc.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |