[m68k] Apply Thorsten Glaser's compiler config changes

svn path=/dists/trunk/linux-2.6/; revision=18629
This commit is contained in:
Ben Hutchings 2012-01-25 03:51:33 +00:00
parent b9754184da
commit 996dcea551
3 changed files with 9 additions and 2 deletions

5
debian/changelog vendored
View File

@ -9,6 +9,11 @@ linux-2.6 (3.2.1-3) UNRELEASED; urgency=low
modules.builtin.bin is left behind
* [alpha] Build with gcc-4.5 (Closes: #657112)
[ Thorsten Glaser ]
* [m68k] Use gcc-4.6 like (almost) all other architectures
* Pass the cflags define as CFLAGS_KERNEL and CFLAGS_MODULE to kbuild
* [m68k] Use cflags -ffreestanding (Closes: #648996)
-- Ben Hutchings <ben@decadent.org.uk> Tue, 24 Jan 2012 06:19:55 +0000
linux-2.6 (3.2.1-2) unstable; urgency=high

View File

@ -1,5 +1,6 @@
[base]
compiler: gcc-4.4
compiler: gcc-4.6
cflags: -ffreestanding
flavours:
amiga
atari

3
debian/rules.real vendored
View File

@ -114,7 +114,8 @@ else
echo 'endif' >> '$(DIR)/.kernelvariables'
endif
ifdef CFLAGS_KERNEL
echo 'CFLAGS += $(CFLAGS_KERNEL)' >> '$(DIR)/.kernelvariables'
echo 'CFLAGS_KERNEL += $(CFLAGS_KERNEL)' >> '$(DIR)/.kernelvariables'
echo 'CFLAGS_MODULE += $(CFLAGS_KERNEL)' >> '$(DIR)/.kernelvariables'
endif
+$(MAKE_CLEAN) -C '$(SOURCE_DIR)' O='$(CURDIR)/$(DIR)' V=1 listnewconfig
+yes "" | $(MAKE_CLEAN) -C '$(SOURCE_DIR)' O='$(CURDIR)/$(DIR)' oldconfig >/dev/null