manibuilder: By default, build native targets last

The "native" targets don't require emulation, hence run a lot
faster. Testing them last helps to run more in parallel.

Change-Id: I9d6b6cd5d65322e3cbfe60adeb58cef99b246a08
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/372
diff --git a/util/manibuilder/Makefile.targets b/util/manibuilder/Makefile.targets
index a814656..02a3c3b 100644
--- a/util/manibuilder/Makefile.targets
+++ b/util/manibuilder/Makefile.targets
@@ -62,8 +62,11 @@
 
 NATIVE_TAGS := $(call arch_filter,$(call machine_map,$(shell uname -m)))
 
-# for now, build all working targets by default
-DEFAULT_TAGS := $(WORKING_TAGS)
+# for now, build all working targets by default,
+# native targets last (faster, better for parallelization)
+DEFAULT_TAGS := \
+	$(filter-out $(NATIVE_TAGS),$(WORKING_TAGS)) \
+	$(filter $(NATIVE_TAGS),$(WORKING_TAGS))
 
 default: $(DEFAULT_TAGS)