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:
5
build.sh
5
build.sh
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user