summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-07-15 14:38:54 +0000
committerru <ru@FreeBSD.org>2005-07-15 14:38:54 +0000
commite10a9fc3855d5182fd8bcf3589e10ae5dfd75cd7 (patch)
tree09669827eff9389d8f98dde03475c61064a54243
parentce10ce6dcbedf5e4956f1bbf39a010030ce4a4d4 (diff)
downloadFreeBSD-src-e10a9fc3855d5182fd8bcf3589e10ae5dfd75cd7.zip
FreeBSD-src-e10a9fc3855d5182fd8bcf3589e10ae5dfd75cd7.tar.gz
Make the `distrib-dirs' target official and working properly
when cross-building (installing). (This is useful for NFS installing world/kernel to another architecture machine.)
-rw-r--r--Makefile2
-rw-r--r--Makefile.inc14
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cede276..309c690 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@
#
TGTS= all all-man buildenv buildkernel buildworld checkdpadd clean \
cleandepend cleandir depend distribute distributeworld \
- distribution everything \
+ distrib-dirs distribution everything \
hierarchy install installcheck installkernel installkernel.debug\
reinstallkernel reinstallkernel.debug installworld \
kernel-toolchain libraries lint maninstall \
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8807bf7..e104950 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -558,8 +558,8 @@ redistribute:
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 distribute32 DISTRIBUTION=lib32
.endif
-distribution:
- cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} distribution
+distrib-dirs distribution:
+ cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} ${.TARGET}
#
# buildkernel and installkernel
OpenPOWER on IntegriCloud