libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 9eef871c5c3ae131f1fc170ff1dcba2f1731b212
parent f975bb023813df2de8038df9c342d6a71a457d6c
Author: Leah Rowe <info@minifree.org>
Date:   Wed, 10 Aug 2016 00:33:39 +0100

no, use swiftgeek's better sed pattern

Diffstat:
resources/scripts/helpers/build/module/coreboot | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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