Skip to content

Commit f52a9fa

Browse files
committed
makefile: fix passing of variables on command line
fixes #1246 Signed-off-by: Øyvind Harboe <[email protected]>
1 parent bf7e2bc commit f52a9fa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

flow/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,9 @@ handoff : all_defs all_verilog
895895

896896
print-% : ; @echo $* = $($*)
897897

898+
.PHONY: test-unset-and-make-%
899+
test-unset-and-make-%: ; $(UNSET_AND_MAKE) $*
900+
898901
# Utilities
899902
#-------------------------------------------------------------------------------
900903
include $(UTILS_DIR)/utils.mk

flow/util/utils.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ define \n
8585

8686
endef
8787

88-
export ISSUE_VARIABLES_NAMES := $(foreach V, $(.VARIABLES),$(if $(filter-out environment% default automatic, $(origin $V)), $(if $(filter-out .% %QT_QPA_PLATFORM% %TIME_CMD% KLAYOUT% GENERATE_ABSTRACT_RULE%, $(V)), $V$ )))
88+
export ISSUE_VARIABLES_NAMES := $(foreach V, $(.VARIABLES),$(if $(filter-out command% line environment% default automatic, $(origin $V)), $(if $(filter-out .% %QT_QPA_PLATFORM% %TIME_CMD% KLAYOUT% GENERATE_ABSTRACT_RULE%, $(V)), $V$ )))
8989
export ISSUE_VARIABLES := $(foreach V, $(ISSUE_VARIABLES_NAMES), $(if $($V),$V=$($V),$V='')${\n})
9090

9191
$(foreach script,$(ISSUE_SCRIPTS),$(script)_issue): %_issue : versions.txt

0 commit comments

Comments
 (0)