[Zrouter-src] ZRouter.org: push to ZRouter Makefile

zrouter-src at zrouter.org zrouter-src at zrouter.org
Thu Oct 2 12:45:49 UTC 2014


details:   http://zrouter.org/hg/zrouter//rev/70bd01e1b81b
changeset: 509:70bd01e1b81b
user:      Aleksandr Rybalko <ray at ddteam.net>
date:      Thu Oct 02 15:44:25 2014 +0300
description:
Check for required things before start to build FreeBSD's toolchains.

diffstat:

 Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 6652c18b00de -r 70bd01e1b81b Makefile
--- a/Makefile	Thu Oct 02 15:42:10 2014 +0300
+++ b/Makefile	Thu Oct 02 15:44:25 2014 +0300
@@ -254,8 +254,10 @@
 	${CLANG_VARS} \
 	-DNO_CLEAN
 
+upgrade_checks:
+	MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/tmp/ ${MAKE} ${_KERNEL_TC_BUILD_ENV} -C ${FREEBSD_SRC_TREE} upgrade_checks
 
-kernel-toolchain:
+kernel-toolchain:	upgrade_checks
 .if !defined(SKIP_TOOLCHAIN)
 	MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/tmp/ ${MAKE} ${_KERNEL_TC_BUILD_ENV} -C ${FREEBSD_SRC_TREE} kernel-toolchain
 .endif
@@ -429,7 +431,7 @@
 #
 # World
 #
-world-toolchain:
+world-toolchain:	upgrade_checks
 .if !defined(SKIP_WORLD_INSTALL)
 	MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/tmp/ ${MAKE} ${_WORLD_TCBUILD_ENV} \
 	    -C ${FREEBSD_SRC_TREE} toolchain


More information about the Zrouter-src mailing list