changeset 415:c2163079c392

Allow to skip kernel toolchain build.
author Aleksandr Rybalko <ray@ddteam.net>
date Thu, 13 Sep 2012 23:29:54 +0300
parents 72546c42ea52
children c46079649662
files Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Sep 13 23:28:04 2012 +0300
+++ b/Makefile	Thu Sep 13 23:29:54 2012 +0300
@@ -246,7 +246,9 @@
 
 
 kernel-toolchain:
+.if !defined(SKIP_TOOLCHAIN)
 	MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/tmp/ ${MAKE} ${_KERNEL_TC_BUILD_ENV} -C ${FREEBSD_SRC_TREE} kernel-toolchain
+.endif
 
 ${ZROUTER_FREEBSD_OBJDIR}/tmp/usr/bin/cc:	kernel-toolchain