Skip to content

Commit

Permalink
squash! make: add targets to debug dependencies variables
Browse files Browse the repository at this point in the history
To more easily allow comparing the normal and the
'info-boards-supported' output, do not generate for boards that are not
enabled.
  • Loading branch information
cladmi committed Aug 15, 2019
1 parent c981514 commit a6b45a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions makefiles/dependencies_debug.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@
# And when comparing two revisions, include the revision in the file names

.PHONY: dependency_debug
# Only generate the dependencies when the board is not disabled
# This will allow comparing with the output of `info-boards-supported` more easily
dependency_debug:
ifneq (,$(filter-out $(BOARD_BLACKLIST),$(filter $(if $(BOARD_WHITELIST),$(BOARD_WHITELIST), %),$(BOARD))))
$(call file_save_dependencies_variables,dependencies_info)
@:
else
@echo Skipping $(BOARD) is not whitelisted or blacklisted
endif

DEPENDENCY_DEBUG_OUTPUT_DIR ?= $(CURDIR)

Expand Down

0 comments on commit a6b45a0

Please sign in to comment.