Skip to content

Commit 13a8224

Browse files
committed
scripts/gen-refs-default.Makefile: add debug output when verbose
For debugging purposes, add --debug argument to the generate_refs.py when V=1 is passed as Makefile parameter. Signed-off-by: Daniel Gomez <[email protected]>
1 parent f13b022 commit 13a8224

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/gen-refs-default.Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ REFS_DEFAULT_TARGETS += gen_refs_def_stable
66

77
KRELEASES_FORCE := $(if $(filter --force,$(KRELEASES_FORCE)),--force,)
88

9+
ifeq ($(V),1)
10+
KRELEASES_DEBUG = --debug
11+
else
12+
KRELEASES_DEBUG =
13+
endif
14+
915
gen_refs_def_mainline:
1016
$(Q)./scripts/generate_refs.py \
1117
--prefix BOOTLINUX_TREE_LINUS \
1218
--output workflows/linux/refs/default/Kconfig.linus \
1319
--extra workflows/linux/refs/static/linus.yaml \
1420
$(KRELEASES_FORCE) \
21+
$(KRELEASES_DEBUG) \
1522
kreleases \
1623
--moniker mainline
1724

@@ -21,6 +28,7 @@ gen_refs_def_next:
2128
--output workflows/linux/refs/default/Kconfig.next \
2229
--extra workflows/linux/refs/static/next.yaml \
2330
$(KRELEASES_FORCE) \
31+
$(KRELEASES_DEBUG) \
2432
kreleases \
2533
--moniker linux-next
2634

@@ -30,6 +38,7 @@ gen_refs_def_stable:
3038
--output workflows/linux/refs/default/Kconfig.stable \
3139
--extra workflows/linux/refs/static/stable.yaml \
3240
$(KRELEASES_FORCE) \
41+
$(KRELEASES_DEBUG) \
3342
kreleases \
3443
--moniker stable
3544

0 commit comments

Comments
 (0)