diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-02-25 13:44:42 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-01 01:08:43 -0800 |
commit | 0f85d578dfff59cf4b8800ba5b346d6ae8676db4 (patch) | |
tree | cee73ae3365e885d896da6b42812859f3e0ac30a /Makefile.rules | |
parent | fc519609fd1fba0e8471dde49236a1af365b1404 (diff) | |
download | chrome-ec-0f85d578dfff59cf4b8800ba5b346d6ae8676db4.tar.gz |
ec: Add print-chip-variant target
In order to properly place ISH firmware at the correct path, the
chromeos-ish ebuild needs information on the CHIP_VARIANT make variable.
This adds a simple target to print the value of that variable.
BUG=b:122371717
BRANCH=none
TEST=ran Makefile with BOARD set and target, got correct value
Change-Id: I882660aea19bf92e74072740d7d30574e81b0cb5
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1487112
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 7c158ffcad..8178d519a8 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -591,6 +591,10 @@ print-configs: -I$(BASEDIR) -I$(BDIR) -DSECTION_IS_RW include/config.h | \ grep "#define CONFIG_" | cut -c9- | sort +.PHONY: print-chip-variant +print-chip-variant: + @echo "$(CHIP_VARIANT)" + .PHONY: clean clean: -rm -rf $(out) |