changeset 516:077c0fa165c9

o Add location of host build tools and standard path to PATH when search fro tools. o Remove "tests" dir too, when clean FS for FW image.
author Aleksandr Rybalko <ray@ddteam.net>
date Wed, 29 Jul 2015 01:29:50 +0300
parents 209db861b703
children e2a2b16bcf7b
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Jul 29 01:24:39 2015 +0300
+++ b/Makefile	Wed Jul 29 01:29:50 2015 +0300
@@ -518,7 +518,7 @@
 NEW_ROOTFS=${ZROUTER_OBJ}/${TARGET_VENDOR}_${TARGET_DEVICE}_rootfs_clean
 NEW_IMAGE=${ZROUTER_OBJ}/${TARGET_VENDOR}_${TARGET_DEVICE}.${IMAGE_SUFFIX}
 
-IMAGE_BUILD_PATHS=${ZTOOLS_PATH}:${FREEBSD_BUILD_ENV_PATH}
+IMAGE_BUILD_PATHS=${ZTOOLS_PATH}:${FREEBSD_BUILD_ENV_PATH}:${ZROUTER_FREEBSD_OBJDIR}/tmp/usr/bin:${PATH}
 
 .include "share/mk/zrouter.local.tools.mk"
 .include "share/mk/zrouter.base.tools.mk"
@@ -539,6 +539,7 @@
     -name obj -or \
     -name info -or \
     -name man -or \
+    -name tests -or \
     -name zfs \\) \\)
 
 ROOTFS_RMFILES+=calendar dict doc examples groff_font locale me mk nls openssl \