Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1038
-gerrit
commit 813532b8352bd643fb507c472d518fafebf1edfe Author: Stefan Reinauer reinauer@chromium.org Date: Fri May 11 12:58:11 2012 -0700
chromeos: Fix compilation of coreboot-utils package
The ChromeOS build system provides a set of CXXFLAGS, however those do not contain -DCOMPACT. This breaks the compilation of cbfstool in coreboot-utils.
This fix overrides CXXFLAGS so that coreboot-utils compiles again.
Change-Id: If9495bdd815fe2cdaeba5386afa953558742467b Signed-off-by: Stefan Reinauer reinauer@google.com --- util/cbfstool/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile index 0b61342..7d667f8 100644 --- a/util/cbfstool/Makefile +++ b/util/cbfstool/Makefile @@ -3,7 +3,7 @@ obj ?= $(shell pwd) HOSTCXX ?= g++ HOSTCC ?= gcc CFLAGS ?= -g -Wall -CXXFLAGS ?=-DCOMPACT $(CFLAGS) +CXXFLAGS +=-DCOMPACT $(CFLAGS) LDFLAGS ?= -g
BINARY:=$(obj)/cbfstool