diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-03-11 05:32:29 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-11 05:32:29 +0100 |
commit | d6fa04a437033d4bdfa1b0d90a4786bfe492f749 (patch) | |
tree | cc32815bed467b89f1638f8f7cec6e7f934e01ac /target/imagebuilder/files/Makefile | |
parent | 35a7f790967de6d887bed8d506c11ebb98da65d3 (diff) | |
download | upstream-d6fa04a437033d4bdfa1b0d90a4786bfe492f749.tar.gz upstream-d6fa04a437033d4bdfa1b0d90a4786bfe492f749.tar.bz2 upstream-d6fa04a437033d4bdfa1b0d90a4786bfe492f749.zip |
IB: include SUPPORTED_DEVICES in 'make info' output
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/imagebuilder/files/Makefile')
-rw-r--r-- | target/imagebuilder/files/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile index 6e8d1eaf29..547289b971 100644 --- a/target/imagebuilder/files/Makefile +++ b/target/imagebuilder/files/Makefile @@ -73,8 +73,9 @@ include $(INCLUDE_DIR)/target.mk USER_PROFILE ?= $(firstword $(PROFILE_NAMES)) PROFILE_LIST = $(foreach p,$(PROFILE_NAMES), \ - echo '$(patsubst DEVICE_%,%,$(p)):'; $(if $($(p)_NAME),echo ' $(subst ','"'"',$($(p)_NAME))'; ) echo ' Packages: $($(p)_PACKAGES)'; echo ' hasImageMetadata: $($(p)_HAS_IMAGE_METADATA)';\ -) + echo '$(patsubst DEVICE_%,%,$(p)):'; $(if $($(p)_NAME),echo ' $(subst ','"'"',$($(p)_NAME))'; ) \ + echo ' Packages: $($(p)_PACKAGES)'; echo ' hasImageMetadata: $($(p)_HAS_IMAGE_METADATA)'; \ + [ "$($(p)_SUPPORTED_DEVICES)" ] && echo ' SupportedDevices: $($(p)_SUPPORTED_DEVICES)'; ) .profiles.mk: .targetinfo @$(SCRIPT_DIR)/target-metadata.pl profile_mk $< '$(BOARD)$(if $(SUBTARGET),/$(SUBTARGET))' > $@ |