Cross compile on minix support

* Remade patch so it works with minix patch tool.

 * New MINIX tar support -ox, so revert back to it

   In fetch scripts, tar had been replaced by bsdtar as the prebvious
   tar did not support the -o flag under minix, which is required to
   prevent usage of tar file stored user and group information.

   This introduces portability problems. As our new tar tool now
   support that flag revert back to improve portability.
This commit is contained in:
Lionel Sambuc
2012-11-01 22:55:12 +01:00
committed by Lionel Sambuc
parent 6227378147
commit b8a678ef1d
32 changed files with 21644 additions and 31161 deletions

View File

@@ -763,6 +763,8 @@ nobomb_getmakevar()
"${make}" -m ${TOP}/share/mk -s -B -f- _x_ <<EOF || return 1
_x_:
echo \${$1}
# LSC FIXME: We are cross compiling, so overwrite default and build tools
USETOOLS:=yes
.include <bsd.prog.mk>
.include <bsd.kernobj.mk>
EOF
@@ -1693,10 +1695,9 @@ EOF
eval cat <<EOF
MAKEWRAPPERMACHINE=${makewrappermachine:-${MACHINE}}; export MAKEWRAPPERMACHINE
USETOOLS=yes; export USETOOLS
MKGCC=yes; export MKGCC
MKGDB=no; export MKGDB
# LSC We are cross compiling, so do not install to root!
MKINSTALLBOOT=no; export MKINSTALLBOOT
MKGCC=yes; export MKGCC
EOF
} | eval sort -u "${makewrapout}"
eval cat <<EOF "${makewrapout}"