aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2016-08-10 00:33:39 +0100
committerLeah Rowe <info@minifree.org>2016-08-10 00:33:39 +0100
commit9eef871c5c3ae131f1fc170ff1dcba2f1731b212 (patch)
treed91cccc6c898579832aedfa2f14e0ff71c1cec71 /resources/scripts
parentf975bb023813df2de8038df9c342d6a71a457d6c (diff)
downloadlibrebootfr-9eef871c5c3ae131f1fc170ff1dcba2f1731b212.tar.gz
librebootfr-9eef871c5c3ae131f1fc170ff1dcba2f1731b212.zip
no, use swiftgeek's better sed pattern
Diffstat (limited to 'resources/scripts')
-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 ac19790f..337b98f8 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 || 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
+ sed -i '/.*fmd_scanner.o.*-Wno-unused-function$/ s/$/ -Wno-sign-compare/' "${board}"/util/cbfstool/Makefile.inc
fi
make -BC "${board}/util/${util}"
done