[Zrouter-src] ZRouter.org: push to ZRouter share/mk/zrouter.local.tools.mk

zrouter-src at zrouter.org zrouter-src at zrouter.org
Thu Sep 13 22:47:43 UTC 2012


details:   http://zrouter.org/hg/zrouter//rev/53ceb7208ffc
changeset: 417:53ceb7208ffc
user:      Aleksandr Rybalko <ray at ddteam.net>
date:      Fri Sep 14 01:48:26 2012 +0300
description:
Move local tools objects to ZROUTER_OBJ/... dir.

diffstat:

 share/mk/zrouter.local.tools.mk |  32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diffs (54 lines):

diff -r c46079649662 -r 53ceb7208ffc share/mk/zrouter.local.tools.mk
--- a/share/mk/zrouter.local.tools.mk	Fri Sep 14 00:25:01 2012 +0300
+++ b/share/mk/zrouter.local.tools.mk	Fri Sep 14 01:48:26 2012 +0300
@@ -9,34 +9,34 @@
 	mkdir -p ${ZTOOLS_PATH}
 
 ${ZTOOLS_PATH}/oldlzma:	${ZTOOLS_PATH}_dir
-	cd ${ZROUTER_ROOT}/tools/oldlzma; \
-	    MAKEOBJDIRPREFIX=/usr/obj/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
+	cd ${ZROUTER_ROOT}/tools/oldlzma; mkdir -p ${ZROUTER_OBJ}/`pwd`; \
+	    MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
 
 ${ZTOOLS_PATH}/packimage:	${ZTOOLS_PATH}_dir
-	cd ${ZROUTER_ROOT}/tools/packimage ; \
-	    MAKEOBJDIRPREFIX=/usr/obj/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
+	cd ${ZROUTER_ROOT}/tools/packimage; mkdir -p ${ZROUTER_OBJ}/`pwd`;  \
+	    MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
 
 ${ZTOOLS_PATH}/trx:	${ZTOOLS_PATH}_dir
-	cd ${ZROUTER_ROOT}/tools/trx; \
-	    MAKEOBJDIRPREFIX=/usr/obj/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
+	cd ${ZROUTER_ROOT}/tools/trx; mkdir -p ${ZROUTER_OBJ}/`pwd`;  \
+	    MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
 
 ${ZTOOLS_PATH}/asustrx:	${ZTOOLS_PATH}_dir
-	cd ${ZROUTER_ROOT}/tools/asustrx; \
-	    MAKEOBJDIRPREFIX=/usr/obj/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
+	cd ${ZROUTER_ROOT}/tools/asustrx; mkdir -p ${ZROUTER_OBJ}/`pwd`;  \
+	    MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
 
 ${ZTOOLS_PATH}/make_dlink_dsr_image:	${ZTOOLS_PATH}_dir
-	cd ${ZROUTER_ROOT}/tools/make_dlink_dsr_image; \
-	    MAKEOBJDIRPREFIX=/usr/obj/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
+	cd ${ZROUTER_ROOT}/tools/make_dlink_dsr_image; mkdir -p ${ZROUTER_OBJ}/`pwd`;  \
+	    MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
 
 ${ZTOOLS_PATH}/ubnt-mkfwimage:	${ZTOOLS_PATH}_dir
-	cd ${ZROUTER_ROOT}/tools/ubnt-mkfwimage; \
-	    MAKEOBJDIRPREFIX=/usr/obj/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
+	cd ${ZROUTER_ROOT}/tools/ubnt-mkfwimage; mkdir -p ${ZROUTER_OBJ}/`pwd`;  \
+	    MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
 
 ${ZTOOLS_PATH}/uboot_mkimage:	${ZTOOLS_PATH}_dir
-	cd ${ZROUTER_ROOT}/tools/uboot_mkimage; \
-	    MAKEOBJDIRPREFIX=/usr/obj/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
+	cd ${ZROUTER_ROOT}/tools/uboot_mkimage; mkdir -p ${ZROUTER_OBJ}/`pwd`;  \
+	    MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
 
 ${ZTOOLS_PATH}/mktplinkfw:	${ZTOOLS_PATH}_dir
-	cd ${ZROUTER_ROOT}/tools/mktplinkfw; \
-	    MAKEOBJDIRPREFIX=/usr/obj/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
+	cd ${ZROUTER_ROOT}/tools/mktplinkfw; mkdir -p ${ZROUTER_OBJ}/`pwd`;  \
+	    MAKEOBJDIRPREFIX=${ZROUTER_OBJ}/ ${MAKE} ${ZTOOLS_INSTALL_VAR} all install
 


More information about the Zrouter-src mailing list