Files
axe-os/stage/toolchain/patch.bash
2026-03-25 14:54:35 +02:00

15 lines
293 B
Bash

fetch $PATCH_URL
cd "$SOURCES" && tar xf patch-$PATCH_VERSION.tar.xz && cd patch-$PATCH_VERSION
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) \
--silent \
--quiet
make && make DESTDIR="$SYSROOT" install
cd "$SOURCES" && rm -rf patch-$PATCH_VERSION