From dee2b1828260da58dd1eb4966a9d696b76343073 Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Thu, 24 May 2007 13:07:56 +0000 Subject: [PATCH] * debian/bin/gencontrol.py: Export cflags. * debian/changelog: Update. * debian/rules.real: Write cflags. svn path=/dists/sid/linux-2.6/; revision=8749 --- debian/bin/gencontrol.py | 1 + debian/changelog | 3 ++- debian/rules.real | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py index 430cc38b6..a5cbf4f3f 100755 --- a/debian/bin/gencontrol.py +++ b/debian/bin/gencontrol.py @@ -82,6 +82,7 @@ class gencontrol(debian_linux.gencontrol.gencontrol): def do_flavour_setup(self, vars, makeflags, arch, subarch, flavour, extra): vars.update(self.config.get(('image', arch, subarch, flavour), {})) for i in ( + ('cflags', 'CFLAGS'), ('compiler', 'COMPILER'), ('image-postproc', 'IMAGE_POSTPROC'), ('initramfs', 'INITRAMFS',), diff --git a/debian/changelog b/debian/changelog index d7bb1701b..ec47c9e95 100644 --- a/debian/changelog +++ b/debian/changelog @@ -86,8 +86,9 @@ linux-2.6 (2.6.21-3) UNRELEASED; urgency=low [ Bastian Blank ] * Fix linux/version.h in linux-libc-dev. + * Make it possible to specifiy special CFLAGS. - -- maximilian attems Thu, 24 May 2007 14:11:54 +0200 + -- Bastian Blank Thu, 24 May 2007 15:06:32 +0200 linux-2.6 (2.6.21-2) unstable; urgency=low diff --git a/debian/rules.real b/debian/rules.real index 5ff882df8..9fd344e8b 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -139,6 +139,7 @@ define SETUP_DIR echo 'CCACHE = ccache' >> '$(DIR)/.kernelvariables' echo 'CC = $$(if $$(DEBIAN_KERNEL_USE_CCACHE),$$(CCACHE)) $$(CROSS_COMPILE)$(COMPILER)' >> '$(DIR)/.kernelvariables' $(SETUP_DIR_HOST_TYPE) + echo 'CFLAGS += $(CFLAGS)' >> '$(DIR)/.kernelvariables' cd '$(DIR)'; $(setup_env) make reportoldconfig endef