backports: Keep kconf/zconf.{lex,tab}.c during "make clean"
PATCH 1/1 backports: Keep kconf/zconf.{lex,tab}.c during "make clean"
From: Anthony Wong <[email protected]>
On recent kernel versions, build fails after "make clean" is run because "make clean" removes kconf/zconf.{lex,tab}.c, so presesrve them during "make clean".
Signed-off-by Anthony Wong <[email protected]>
--- backport/Makefile.real | 3 +++ 1 file changed, 3 insertions(+)
backport/Makefile.real +3 -0
@@ -115,7 +115,10 @@ uninstall: @echo Reboot. @echo +EXCLUDE_CLEAN := kconf/zconf.lex.c kconf/zconf.tab.c .PHONY: clean clean: + @$(foreach f, $(EXCLUDE_CLEAN), mv $(f) $(f).orig;) @$(MAKE) -f Makefile.build clean @$(MAKE) -C kconf clean + @$(foreach f, $(EXCLUDE_CLEAN), mv $(f).orig $(f);)
Signature · 4 lines
2.11.0 -- To unsubscribe from this list: send the line "unsubscribe backports" in