[Lunar] UBUNTU: SAUCE: (no-up) do not remove debian directory by 'make mrproper'

Masahiro Yamada masahiro.yamada at canonical.com
Wed Jan 11 00:08:36 UTC 2023


If you use only remote build servers such as launchpad, cbd, etc.
you may not care about this, but if you run 'make mrproper', the
debian directory is entirely removed because it is a generated
directory for the upstream kernel.

I do not want to lose the debian directory by accident when I am
debugging something on my local machine.

Signed-off-by: Masahiro Yamada <masahiro.yamada at canonical.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e2b48f0fa7a83..673341ab416ab 100644
--- a/Makefile
+++ b/Makefile
@@ -1598,7 +1598,7 @@ CLEAN_FILES += include/ksym vmlinux.symvers modules-only.symvers \
 # Directories & files removed with 'make mrproper'
 MRPROPER_FILES += include/config include/generated          \
 		  arch/$(SRCARCH)/include/generated .objdiff \
-		  debian snap tar-install \
+		  snap tar-install \
 		  .config .config.old .version \
 		  Module.symvers \
 		  certs/signing_key.pem \
-- 
2.34.1




More information about the kernel-team mailing list