fix parallel build issues
SVN-Revision: 9495
This commit is contained in:
parent
fcdf364d10
commit
db87e1f8c1
2 changed files with 8 additions and 5 deletions
12
Makefile
12
Makefile
|
@ -9,8 +9,7 @@
|
||||||
TOPDIR:=${CURDIR}
|
TOPDIR:=${CURDIR}
|
||||||
LC_ALL:=C
|
LC_ALL:=C
|
||||||
LANG:=C
|
LANG:=C
|
||||||
IS_TTY:=${shell tty -s && echo 1 || echo 0}
|
export TOPDIR LC_ALL LANG
|
||||||
export TOPDIR LC_ALL LANG IS_TTY
|
|
||||||
|
|
||||||
world:
|
world:
|
||||||
|
|
||||||
|
@ -31,10 +30,13 @@ else
|
||||||
include tools/Makefile
|
include tools/Makefile
|
||||||
include toolchain/Makefile
|
include toolchain/Makefile
|
||||||
|
|
||||||
$(toolchain/stamp-compile): $(tools/stamp-compile)
|
$(toolchain/stamp-install): $(tools/stamp-install)
|
||||||
$(target/stamp-compile): $(toolchain/stamp-install) $(tools/stamp-install) $(BUILD_DIR)/.prepared
|
$(target/stamp-compile): $(toolchain/stamp-install) $(tools/stamp-install) $(BUILD_DIR)/.prepared
|
||||||
$(package/stamp-compile): $(target/stamp-compile)
|
$(package/stamp-cleanup): $(target/stamp-compile)
|
||||||
$(target/stamp-install): $(package/stamp-compile) $(package/stamp-install)
|
$(package/stamp-compile): $(target/stamp-compile) $(package/stamp-cleanup)
|
||||||
|
$(package/stamp-install): $(package/stamp-compile)
|
||||||
|
$(package/stamp-rootfs-prepare): $(package/stamp-install)
|
||||||
|
$(target/stamp-install): $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare)
|
||||||
|
|
||||||
$(BUILD_DIR)/.prepared: Makefile
|
$(BUILD_DIR)/.prepared: Makefile
|
||||||
@mkdir -p $$(dirname $@)
|
@mkdir -p $$(dirname $@)
|
||||||
|
|
|
@ -22,6 +22,7 @@ else
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
export OPENWRTVERSION
|
export OPENWRTVERSION
|
||||||
|
export IS_TTY=$(shell tty -s && echo 1 || echo 0)
|
||||||
|
|
||||||
ifeq ($(FORCE),)
|
ifeq ($(FORCE),)
|
||||||
.config scripts/config/conf scripts/config/mconf: tmp/.prereq-build
|
.config scripts/config/conf scripts/config/mconf: tmp/.prereq-build
|
||||||
|
|
Loading…
Reference in a new issue