diff mbox series

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

Message ID 20230111000836.1554457-1-masahiro.yamada@canonical.com
State New
Headers show
Series [Lunar] UBUNTU: SAUCE: (no-up) do not remove debian directory by 'make mrproper' | expand

Commit Message

Masahiro Yamada Jan. 11, 2023, 12:08 a.m. UTC
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@canonical.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrea Righi Jan. 16, 2023, 6:49 a.m. UTC | #1
On Wed, Jan 11, 2023 at 09:08:36AM +0900, Masahiro Yamada wrote:
> 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@canonical.com>
> ---

Applied to lunar/linux and lunar/linux-unstable.

Thanks,
-Andrea
diff mbox series

Patch

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 \