Skip to content

Commit d59b59f

Browse files
committed
mrproper: cleanup default refs files
Ensure mrproper removes the default git reference files for mainline next and stable. This will force these Kconfig files to be generated after running mrproper target. Signed-off-by: Daniel Gomez <[email protected]>
1 parent 3bb96e2 commit d59b59f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ mrproper:
265265
$(Q)rm -f playbooks/secret.yml $(KDEVOPS_EXTRA_ADDON_DEST)
266266
$(Q)rm -rf include
267267
$(Q)rm -rf guestfs
268+
$(Q)$(MAKE) -f scripts/gen-refs-default.Makefile _refs-default-clean
268269

269270
kconfig-help-menu:
270271
$(Q)$(MAKE) -s -C scripts/kconfig help

scripts/gen-refs-default.Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,10 @@ refs-default: $(REFS_DEFAULT_TARGETS) _gen-default-refs-development refs-user-cl
4343
PHONY += _refs-default
4444
_refs-default: $(REFS_DEFAULT_TARGETS)
4545

46+
PHONY += _refs-default-clean
47+
_refs-default-clean:
48+
$(Q)rm --force workflows/linux/refs/default/Kconfig.linus
49+
$(Q)rm --force workflows/linux/refs/default/Kconfig.next
50+
$(Q)rm --force workflows/linux/refs/default/Kconfig.stable
51+
4652
.PHONY: $(PHONY)

0 commit comments

Comments
 (0)