changeset 504:617dc632a646

Build libnetbsd.a as the dependency of makefs tool.
author Aleksandr Rybalko <ray@ddteam.net>
date Wed, 01 Oct 2014 01:17:17 +0300
parents 1b435ead63ac
children 4a36e404243d
files share/mk/zrouter.base.tools.mk
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/share/mk/zrouter.base.tools.mk	Fri Sep 26 01:44:45 2014 +0300
+++ b/share/mk/zrouter.base.tools.mk	Wed Oct 01 01:17:17 2014 +0300
@@ -15,7 +15,11 @@
 
 makefs_cd9660:	${ZTOOLS_PATH}/makefs
 
-${ZTOOLS_PATH}/makefs:
+libnetbsd_a:
+	cd ${FREEBSD_SRC_TREE}/lib/libnetbsd; \
+	make MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX} DESTDIR=${ZTOOLS_PATH}
+
+${ZTOOLS_PATH}/makefs:	libnetbsd_a
 	mkdir -p ${ZTOOLS_PATH}
 	cd ${FREEBSD_SRC_TREE}/usr.sbin/makefs; \
 	make MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX} DESTDIR=${ZTOOLS_PATH}; \