Remove IS_REDOX scripts

This commit is contained in:
Wildan M 2025-11-21 00:45:09 -08:00
parent 7919fc54a5
commit f676e25f80
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -84,10 +84,7 @@ function GNU_CONFIG_GET {
pub(crate) static BUILD_PRESCRIPT: &str = r#"
# Add cookbook bins to path
if [ -z "${IS_REDOX}" ]
then
export PATH="${COOKBOOK_ROOT}/bin:${PATH}"
fi
# This puts cargo build artifacts in the build directory
export CARGO_TARGET_DIR="${COOKBOOK_BUILD}/target"
@ -185,16 +182,6 @@ COOKBOOK_CONFIGURE_FLAGS=(
)
COOKBOOK_MAKE="make"
if [ -z "${COOKBOOK_MAKE_JOBS}" ]
then
if [ -z "${IS_REDOX}" ]
then
COOKBOOK_MAKE_JOBS="$(nproc)"
else
COOKBOOK_MAKE_JOBS="1"
fi
fi
function cookbook_configure {
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}" "$@"
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"