summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/grub/target.cfg1
-rwxr-xr-xscript/update/trees6
2 files changed, 4 insertions, 3 deletions
diff --git a/config/grub/target.cfg b/config/grub/target.cfg
index 8242b1fd..9b34245e 100644
--- a/config/grub/target.cfg
+++ b/config/grub/target.cfg
@@ -1,2 +1,3 @@
bootstrapargs="--gnulib-srcdir=gnulib/ --no-git"
autoconfargs="--with-platform=coreboot"
+makeargs="FS_PAYLOAD_MODULES=\"\""
diff --git a/script/update/trees b/script/update/trees
index a12f3ef8..76cfa571 100755
--- a/script/update/trees
+++ b/script/update/trees
@@ -12,7 +12,7 @@ set -u -e
eval "$(setvars "" xarch cfgsdir codedir config config_name xlang mode \
elfdir listfile project target target_dir targets tree _f target1 \
- bootstrapargs autoconfargs cmakedir)"
+ bootstrapargs autoconfargs cmakedir makeargs autogenargs)"
main()
{
@@ -214,7 +214,7 @@ run_make_command()
x_ printf "%s\n" "${version%%-*}" \
> "${codedir}/.coreboot-version"
- make $mode -j$(nproc) FS_PAYLOAD_MODULES="" -C "$codedir" || \
+ make $mode -j$(nproc) $makeargs -C "$codedir" || \
err "run_make $codedir: !make $mode"
[ "$mode" != "clean" ] && return 0
@@ -239,7 +239,7 @@ check_autoconf()
_cfgopt=""
cd "${1}" || err "!cd $1"
[ -f "bootstrap" ] && x_ ./bootstrap $bootstrapargs
- [ -f "autogen.sh" ] && x_ ./autogen.sh
+ [ -f "autogen.sh" ] && x_ ./autogen.sh ${autogenargs}
[ -f "configure" ] && x_ ./configure $autoconfargs; return 0
) || err "can't bootstrap project: $1"
}