aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules.real
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2019-09-11 15:19:07 +0100
committerBen Hutchings <ben@decadent.org.uk>2019-09-26 14:33:31 +0200
commit4b30bacfe29974116f45601adf398997f2d4c62b (patch)
tree364628e010af1b96634b1887971f0ab89e3171f5 /debian/rules.real
parentb9a36c0c5d0a138205adad91fbdaea81a68c3b52 (diff)
downloadkernel_replicant_linux-4b30bacfe29974116f45601adf398997f2d4c62b.tar.gz
kernel_replicant_linux-4b30bacfe29974116f45601adf398997f2d4c62b.tar.bz2
kernel_replicant_linux-4b30bacfe29974116f45601adf398997f2d4c62b.zip
linux-image-dbg: Delete ./ from source file names in debug info
Change the -fdebug-prefix-path option's value so the "/" after the source directory name is deleted rather than prefixed with ".". This shouldn't make any practical difference, but it makes the debug info slightly smaller and is consistent with the value upstream sets for the -fmacro-prefix-path option.
Diffstat (limited to 'debian/rules.real')
-rw-r--r--debian/rules.real2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules.real b/debian/rules.real
index cdf85efcc2a3..501e42ce1c4b 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -47,7 +47,7 @@ setup_env := env -u ABINAME -u ARCH -u FEATURESET -u FLAVOUR -u VERSION -u LOCAL
setup_env += DISTRIBUTION_OFFICIAL_BUILD=1 DISTRIBUTOR="$(DISTRIBUTOR)" DISTRIBUTION_VERSION="$(SOURCEVERSION)" KBUILD_BUILD_TIMESTAMP="$(SOURCE_DATE)" KBUILD_BUILD_VERSION_TIMESTAMP="$(DISTRIBUTOR) $(SOURCEVERSION) ($(SOURCE_DATE_UTC_ISO))" KBUILD_BUILD_USER="$(word 1,$(subst @, ,$(MAINTAINER)))" KBUILD_BUILD_HOST="$(word 2,$(subst @, ,$(MAINTAINER)))"
setup_env += KBUILD_VERBOSE=$(if $(filter terse,$(DEB_BUILD_OPTIONS)),0,1)
-MAKE_CLEAN = $(setup_env) $(MAKE) KCFLAGS=-fdebug-prefix-map=$(CURDIR)=.
+MAKE_CLEAN = $(setup_env) $(MAKE) KCFLAGS=-fdebug-prefix-map=$(CURDIR)/=
MAKE_SELF := $(MAKE) -f debian/rules.real $(MAKEOVERRIDES)
MAKEOVERRIDES =