build: support ARM in makefile target 'binary'
authorAdam Malcontenti-Wilson <adman.com@gmail.com>
Tue, 27 Nov 2012 05:03:36 +0000 (16:03 +1100)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 27 Nov 2012 06:14:21 +0000 (07:14 +0100)
Makefile

index 237a2a4..0dde96c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -216,8 +216,12 @@ endif
 ifeq ($(DESTCPU),x64)
 ARCH=x64
 else
+ifeq ($(DESTCPU),arm)
+ARCH=arm
+else
 ARCH=x86
 endif
+endif
 TARNAME=node-$(VERSION)
 TARBALL=$(TARNAME).tar.gz
 BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)