diff options
author | Pi-Hsun Shih <pihsun@chromium.org> | 2019-03-04 18:08:47 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-07 20:22:07 -0800 |
commit | dbd0b06752030e7e96ec9ec534d354cde0a47814 (patch) | |
tree | 4731a50a4022f172285eb9b9ec285c13ca755e29 /Makefile.rules | |
parent | 62e13829506bfc2f8a1e9832fe278814fbfcdb92 (diff) | |
download | chrome-ec-dbd0b06752030e7e96ec9ec534d354cde0a47814.tar.gz |
build: Fix print configs when _tsk_cfg_rw is not empty
The _tsk_cfg_rw is a series of flags like HAS_TASK_MOTIONSENSE, which
doesn't make sense to be used as a command.
BRANCH=none
BUG=b:126308353
TEST=make BOARD=kukui print-configs works
TEST=print-configs on all boards, and check that output is not changed
except for boards that RW Config can't be printed due to this
bug.
Change-Id: I513e88032abb8a418b22179d9e9c92a1dd8fbf3a
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1498954
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index f2a3c89651..c82e5de2d8 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -591,7 +591,7 @@ print-configs: @echo "----------------------------------------------------------------" @echo "| RW Config: |" @echo "----------------------------------------------------------------" - @$(_tsk_cfg_rw) $(CPP) $(CPPFLAGS) -P -dM -Ichip/$(CHIP) \ + @$(CPP) $(CPPFLAGS) -P -dM -Ichip/$(CHIP) \ -I$(BASEDIR) -I$(BDIR) -DSECTION_IS_RW include/config.h | \ grep "#define CONFIG_" | cut -c9- | sort |