aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rwxr-xr-xresources/scripts/helpers/build/module/coreboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot
index 460b5721..ac19790f 100755
--- a/resources/scripts/helpers/build/module/coreboot
+++ b/resources/scripts/helpers/build/module/coreboot
@@ -190,7 +190,7 @@ 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"
+ grep -wq "\-Wno\-sign\-compare" ${board}/util/cbfstool/Makefile.inc || sed -i -- "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'" ${board}/util/cbfstool/Makefile.inc
fi
make -BC "${board}/util/${util}"
done