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
This commit is contained in:
parent
8d861bd702
commit
496cba2e8b
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue