mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Fix compilation for linux tools
This commit is contained in:
parent
93d87b80df
commit
54688950d0
@ -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"
|
||||
|
||||
@ -14,4 +14,5 @@ dependencies = [
|
||||
configureflags = [
|
||||
"--disable-libdebuginfod",
|
||||
"--disable-debuginfod",
|
||||
]
|
||||
"--disable-demangler",
|
||||
]
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user