diff options
author | Brian Norris <briannorris@chromium.org> | 2022-09-02 13:40:17 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-07 16:19:18 +0000 |
commit | f6b4581c17e4ce2132cb04d4180c326d628b7426 (patch) | |
tree | 078ef6fc232bda7105ff962cbf24bde10688a398 /extra/rma_reset | |
parent | 27ff437ee579e03bc0a584a0be1e11b2629bbffb (diff) | |
download | chrome-ec-f6b4581c17e4ce2132cb04d4180c326d628b7426.tar.gz |
ec: Fix DEBUG "variable" in usb_updater Makefile (retry)
DEBUG is not the way to refer to a variable in a Makefile expression;
$(DEBUG) is.
Make extra/rma_reset/Makefile consistent with this too.
Reland after gsctool fixed some build errors:
https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3876011
BUG=b:245028043
TEST=build (chromeos-cr50-dev)
Signed-off-by: Brian Norris <briannorris@chromium.org>
Change-Id: I6c9ac95522c987e520123b10f7c722a21bb5ecb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3877390
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'extra/rma_reset')
-rw-r--r-- | extra/rma_reset/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/rma_reset/Makefile b/extra/rma_reset/Makefile index 4a640c5b4c..4e401b8d5d 100644 --- a/extra/rma_reset/Makefile +++ b/extra/rma_reset/Makefile @@ -19,7 +19,7 @@ CFLAGS := -std=gnu99 \ -Wredundant-decls \ -Wmissing-declarations -ifeq ($(DEBUG),1) +ifneq ($(DEBUG),) CFLAGS += -g -O0 else CFLAGS += -O3 |