* debian/bin/gencontrol.py: Export cflags.

* debian/changelog: Update.
* debian/rules.real: Write cflags.

svn path=/dists/sid/linux-2.6/; revision=8749
This commit is contained in:
Bastian Blank 2007-05-24 13:07:56 +00:00
parent 91e81e0850
commit dee2b18282
3 changed files with 4 additions and 1 deletions

View File

@ -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',),

3
debian/changelog vendored
View File

@ -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 <maks@debian.org> Thu, 24 May 2007 14:11:54 +0200
-- Bastian Blank <waldi@debian.org> Thu, 24 May 2007 15:06:32 +0200
linux-2.6 (2.6.21-2) unstable; urgency=low

1
debian/rules.real vendored
View File

@ -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