From dbd0b06752030e7e96ec9ec534d354cde0a47814 Mon Sep 17 00:00:00 2001 From: Pi-Hsun Shih Date: Mon, 4 Mar 2019 18:08:47 +0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1498954 Commit-Ready: ChromeOS CL Exonerator Bot Reviewed-by: Jett Rink Reviewed-by: Nicolas Boichat --- Makefile.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1