From: Nadav Har'El <[email protected]>
Committer: Nadav Har'El <[email protected]>
Branch: master

Makefile: unbreak aarch64 build

We (at least, currently) can only build loader.bin on x64 architecture,
so don't try to build it by default on aarch64 architecture.
Before this patch, "make arch=aarch64" failed.

Signed-off-by: Nadav Har'El <[email protected]>

---
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -131,7 +131,10 @@ endif
 quiet = $(if $V, $1, @echo " $2"; $1)
 very-quiet = $(if $V, $1, @$1)

-all: $(out)/loader.img links $(out)/loader.bin
+all: $(out)/loader.img links
+ifeq ($(arch),x64)
+all: $(out)/loader.bin
+endif
 .PHONY: all

 links:

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to