Try and avoid nuking people's debian dir

... provide less rope at least.

svn path=/dists/sid/linux/; revision=22363
This commit is contained in:
Ian Campbell 2015-02-10 04:17:23 +00:00
parent e0b3ad15a4
commit f410c9e025
3 changed files with 21 additions and 0 deletions

1
debian/changelog vendored
View File

@ -2,6 +2,7 @@ linux (3.16.7-ckt4-4) UNRELEASED; urgency=medium
[ Ian Campbell ]
* [armhf] Add DTB for Olimex A20-OLinuXino-LIME2. (Closes: #777455)
* Don't delete debian dir on make clean/mrproper/etc.
-- Ian Campbell <ijc@debian.org> Mon, 09 Feb 2015 06:17:31 +0000

19
debian/patches/debian/no-clean.patch vendored Normal file
View File

@ -0,0 +1,19 @@
From: Ian Campbell <ijc@debian.org>
Subject: Do not clean (remove) /debian/ dir
Date: Tue, 10 Feb 2015 03:51:27 +0000
Forwarded: not-needed
When running "make clean" in the root of an actual Debian source package we
don't want to remove the debian dir.
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -90,8 +90,6 @@
$(MAKE) KBUILD_SRC=
$(call cmd,builddeb)
-clean-dirs += $(objtree)/debian/
-
# tarball targets
# ---------------------------------------------------------------------------

View File

@ -6,6 +6,7 @@ debian/ia64-hardcode-arch-script-output.patch
debian/mips-disable-werror.patch
debian/arch-sh4-fix-uimage-build.patch
debian/powerpcspe-omit-uimage.patch
debian/no-clean.patch
features/all/Kbuild-kconfig-Verbose-version-of-listnewconfig.patch
# Fixes/improvements to firmware loading