aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/module
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2016-08-10 00:28:26 +0100
committerLeah Rowe <info@minifree.org>2016-08-10 00:28:26 +0100
commitf975bb023813df2de8038df9c342d6a71a457d6c (patch)
tree1e35ecc4289aa6f8773d2cab680e6c9f1a8e7bc6 /resources/scripts/helpers/build/module
parent099225d1e1f0d2501de4a306b95a09883ad17d85 (diff)
downloadlibrebootfr-f975bb023813df2de8038df9c342d6a71a457d6c.tar.gz
librebootfr-f975bb023813df2de8038df9c342d6a71a457d6c.zip
fix messing sed command in last commit
Diffstat (limited to 'resources/scripts/helpers/build/module')
-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