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
+4
-1
@@ -68,7 +68,10 @@ ARG WITH_BUSYBOX
|
||||
|
||||
COPY build-busybox.sh .
|
||||
RUN if [ -n "$WITH_BUSYBOX" ]; then \
|
||||
./build-busybox.sh $CROSS_TOOLCHAIN_PREFIX/busybox --host=$HOST; \
|
||||
./build-busybox.sh $CROSS_TOOLCHAIN_PREFIX/busybox --host=$HOST && \
|
||||
cp $CROSS_TOOLCHAIN_PREFIX/bin/mingw32-make.exe $CROSS_TOOLCHAIN_PREFIX/busybox/bin/make.exe && \
|
||||
mkdir -p $CROSS_TOOLCHAIN_PREFIX/busybox/share && \
|
||||
cp -a $CROSS_TOOLCHAIN_PREFIX/share/make $CROSS_TOOLCHAIN_PREFIX/busybox/share; \
|
||||
fi
|
||||
|
||||
ARG TAG
|
||||
|
||||
Reference in new issue
Block a user