Advertisement
Guest User

Untitled

a guest
Aug 13th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.85 KB | None | 0 0
  1. diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
  2. index 22b2731358..1a3a56634e 100644
  3. --- a/target/imagebuilder/files/Makefile
  4. +++ b/target/imagebuilder/files/Makefile
  5. @@ -76,7 +76,7 @@ USER_PROFILE ?= $(firstword $(PROFILE_NAMES))
  6.  PROFILE_LIST = $(foreach p,$(PROFILE_NAMES), \
  7.         echo '$(patsubst DEVICE_%,%,$(p)):'; $(if $($(p)_NAME),echo '    $(subst ','"'"',$($(p)_NAME))'; ) \
  8.         echo '    Packages: $($(p)_PACKAGES)'; echo '    hasImageMetadata: $($(p)_HAS_IMAGE_METADATA)'; \
  9. -       [ "$($(p)_SUPPORTED_DEVICES)" ] && echo '    SupportedDevices: $($(p)_SUPPORTED_DEVICES)'; )
  10. +       $(if $($(p)_SUPPORTED_DEVICES),echo '    SupportedDevices: $($(p)_SUPPORTED_DEVICES)';) )
  11.  
  12.  .profiles.mk: .targetinfo
  13.         @$(SCRIPT_DIR)/target-metadata.pl profile_mk $< '$(BOARD)$(if $(SUBTARGET),/$(SUBTARGET))' > $@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement