From b5b06e4ac9f5ee5ccc19ec2d917c593be5bf4963 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 30 Sep 2016 11:39:35 -0700 Subject: [PATCH] Cr50: fix CR50_DEV=1 override Commit 9e7c12b added a command-line option to "make" to build development versions of the Cr50 board. This makes the symbol definition useful in makefiles and not just C code. BUG=chrome-os-partner:57408 BRANCH=none TEST=make buildall; try on Gru with and without CR50_DEV=1 Signed-off-by: Bill Richardson Change-Id: Id0719d63263b00e192a2e4866dbe1551ae49e23c Reviewed-on: https://chromium-review.googlesource.com/391127 Commit-Ready: Vadim Bendebury Reviewed-by: Vadim Bendebury --- chip/g/build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chip/g/build.mk b/chip/g/build.mk index 6e71d6f210..095b1790aa 100644 --- a/chip/g/build.mk +++ b/chip/g/build.mk @@ -108,7 +108,7 @@ CR50_RW_KEY = loader-testkey-A.pem SIGNER = $(out)/util/signer SIGNER_EXTRAS = else -CFLAGS += -DCR50_DEV=1 +CPPFLAGS += -DCR50_DEV=1 SIGNER = $(HOME)/bin/codesigner CR50_RW_KEY = cr50_rom0-dev-blsign.pem.pub RW_SIGNER_EXTRAS = -x util/signer/fuses.xml