Makefile: move check-if-root earlier
Somebody who might invoke make as root might also invoke make with -j,
so don't start building in that case.
Change-Id: I0c87aba948cd78a23ad4c49f880700f65684424c
diff --git a/Makefile.in b/Makefile.in
index 23ccc95..6997756 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,7 +50,7 @@ $(BUILDDIR)/config_host.mk : $(wildcard \
else # MAKE_RESTARTS
all: check-if-root build
all: build
check-if-root:
@if test `id -u` = 0; then \
@@ -240,9 +240,9 @@ fetch:
endif
#
# Bootstap
# Bootstrap
#
bootstrap: compilerplugins
bootstrap: check-if-root compilerplugins
#
# Build