aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xresources/scripts/helpers/build/module/coreboot3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot
index f8d3e6cb..460b5721 100755
--- a/resources/scripts/helpers/build/module/coreboot
+++ b/resources/scripts/helpers/build/module/coreboot
@@ -189,6 +189,9 @@ for payload in coreboot/*; do
# cbfstool, cbmem, nvramtool
for util in {cbfs,nvram}tool cbmem; do
+ if [ "${util}" = "cbfstool" ]; then
+ grep -wq "\-Wno\-sign\-compare" ${board}/util/cbfstool/Makefile.inc || s/"\$(objutil)/cbfstool/fmd_scanner.o: \$(objutil)/cbfstool/fmd.o"/"\$(objutil)/cbfstool/fmd_scanner.o: \$(objutil)/cbfstool/fmd.o\n\$(objutil)\/cbfstool\/fmd_scanner.o: TOOLCFLAGS += \-Wno\-sign\-compare"
+ fi
make -BC "${board}/util/${util}"
done
# create symlink to crossgcc