Merge branch 'linux-tools' into 'master'

Fix compilation for linux tools

See merge request redox-os/redox!2254
This commit is contained in:
Jeremy Soller 2026-07-17 19:50:19 -06:00
commit 2200a25869
4 changed files with 29 additions and 5 deletions

View File

@ -1,5 +1,10 @@
#TODO compile and test
#TODO compiled but not tested
[source]
tar = "https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.bz2"
blake3 = "510b18d82d9ee4fd136ce285162a31808c9c87907c188e215cd21a8cc7cde992"
script = """
autotools_recursive_regenerate
"""
[build]
template = "configure"

View File

@ -14,4 +14,5 @@ dependencies = [
configureflags = [
"--disable-libdebuginfod",
"--disable-debuginfod",
]
"--disable-demangler",
]

View File

@ -1,5 +1,10 @@
#TODO not compiled or tested
#TODO compiled but not tested
[source]
tar = "https://ftp.gnu.org/gnu/bc/bc-1.08.2.tar.gz"
blake3 = "3b1391fbcea440b4abd0c7296a97f6de9b564659320038ff4c3bc7cbc9f5dcee"
script = """
autotools_recursive_regenerate
"""
[build]
template = "configure"

View File

@ -1,6 +1,19 @@
#TODO missing script for GNU Make, see https://www.busybox.net/FAQ.html#configure
#TODO cross-compilation - https://www.busybox.net/FAQ.html#build
#TODO compiled but not tested
[source]
tar = "https://www.busybox.net/downloads/busybox-1.36.1.tar.bz2"
blake3 = "dfdfc1b9aa41d5134e087d904c0a5f6958825f0e94db1d2cb5ea93088247c886"
[build]
template = "custom"
script = """
pushd $COOKBOOK_SOURCE
make "O=$COOKBOOK_BUILD" defconfig
popd
sed -i \
-e 's/^CONFIG_SHA1_HWACCEL=y/# CONFIG_SHA1_HWACCEL is not set/' \
-e 's/^CONFIG_SHA256_HWACCEL=y/# CONFIG_SHA256_HWACCEL is not set/' \
-e 's/^CONFIG_TC=y/# CONFIG_TC is not set/' \
.config
make
make "CONFIG_PREFIX=$COOKBOOK_STAGE" install
"""