# HG changeset patch # Parent 015eb4f496426a8ef805f08bdd445f68fd2c0b78 diff -r 015eb4f49642 Makefile --- a/Makefile +++ b/Makefile @@ -37,6 +37,7 @@ # xdev-build - Build cross-development tools. # xdev-install - Install cross-development tools. # xdev-links - Create traditional links in /usr/bin for cc, etc +# xsysroot - Create a sysroot for cross build process. # native-xtools - Create host binaries that produce target objects # for use in qemu user-mode jails. # diff -r 015eb4f49642 Makefile.inc1 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -2128,6 +2128,9 @@ xdev-links: ln -sf ../../${XDTP}/usr/bin/$$i \ ../../../../usr/bin/${XDDIR}${OSREL}-$$i; \ done +xsysroot: _xi-mtree _xi-includes _xi-libraries + echo "xsysroot done!" + .else xdev xdev-build xdev-install xdev-links: @echo "*** Error: Both TARGET and TARGET_ARCH must be defined for \"${.TARGET}\" target"