build-busybox: Disable make, copy mingw32-make.exe as make.exe
The built-in make is a POSIX make tool, which doesn't support GNU make features. As we do have GNU make, insert that as "make.exe" in the busybox directory. Don't do that in the main llvm-mingw bin directory, which can be used with other environments (e.g. msys2), where the native make is to be preferred.
This commit is contained in:
1 parent
1c87f45543
commit
64363c14db
3 files changed
+10
-1
No files matched your search
@@ -108,4 +108,9 @@ if [ -z "$NO_MAKE" ]; then
|
||||
fi
|
||||
if [ -n "$BUSYBOX" ]; then
|
||||
./build-busybox.sh $PREFIX/busybox --host=$HOST
|
||||
if [ -z "$NO_MAKE" ]; then
|
||||
cp $PREFIX/bin/mingw32-make.exe $PREFIX/busybox/bin/make.exe
|
||||
mkdir -p $PREFIX/busybox/share
|
||||
cp -a $PREFIX/share/make $PREFIX/busybox/share
|
||||
fi
|
||||
fi
|
||||
Reference in new issue
Block a user