libreboot

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

commit 099225d1e1f0d2501de4a306b95a09883ad17d85
parent 196d9031a8b05cc86d1b05e9d2ea5267e4beb532
Author: Leah Rowe <info@minifree.org>
Date:   Wed, 10 Aug 2016 00:21:52 +0100

hotfix for building on distros with newer flex version

Adapted from https://review.coreboot.org/cgit/coreboot.git/commit/util/cbfstool/Makefile.inc?id=2b80734811ee056f0447bab359ec5961e90101b7

Diffstat:
resources/scripts/helpers/build/module/coreboot | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

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