From e7118a7cc78c45c1380251a5777fba2ac9edffd3 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 7 Jul 2024 17:26:55 +0000 Subject: [PATCH] make.sh: Pass on individual build arguments Signed-off-by: Michael Tremer --- make.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/make.sh b/make.sh index e15d35efa..b95262778 100755 --- a/make.sh +++ b/make.sh @@ -877,31 +877,33 @@ run_command() { lfsmake2() { local pkg="${1}" + shift # Run the common check - lfsmakecommoncheck "${pkg}" + lfsmakecommoncheck "${pkg}" "$@" [ $? == 1 ] && return 0 # Download source outside of the toolchain - if ! run_command --quiet "${pkg}" download b2sum; then + if ! run_command --quiet "${pkg}" download b2sum "$@"; then exiterror "Downloading ${pkg}" fi # Run install on the package - if ! run_command --chroot "${pkg}" install; then + if ! run_command --chroot "${pkg}" install "$@"; then exiterror "Building ${pkg}" fi } ipfiredist() { local pkg="${1}" + shift # Run the common check - lfsmakecommoncheck "${pkg}" + lfsmakecommoncheck "${pkg}" "$@" [ $? == 1 ] && return 0 # Run dist on the package - if ! run_command --chroot "${pkg}" dist; then + if ! run_command --chroot "${pkg}" dist "$@"; then exiterror "Packging ${pkg}" fi } -- 2.39.5