kbuild: Remove CFLAGS assignment in i386/mach-*/Makefile
PATCH 1/1 kbuild: Remove CFLAGS assignment in i386/mach-*/Makefile
The EXTRA_CFLAGS assignments in the following files are a left-over from the early 2.5 days where the source was not compiled from the root of the source tree.
Removing these wrong assignments fixes
http://bugme.osdl.org/show_bug.cgi?id=2210
A script named 'kernel' in the .. directory no longer halt compilation.
Sam
kbuild-fix-cflags-assign-in-mach.patch:
===== arch/i386/mach-default/Makefile 1.8 vs edited =====
arch/i386/mach-default/Makefile +0 -2
@@ -2,6 +2,4 @@ # Makefile for the linux kernel. # -EXTRA_CFLAGS += -I../kernel - obj-y := setup.o topology.o
===== arch/i386/mach-es7000/Makefile 1.1 vs edited =====
arch/i386/mach-es7000/Makefile +0 -2
@@ -2,6 +2,4 @@ # Makefile for the linux kernel. # -EXTRA_CFLAGS += -I../kernel - obj-y := setup.o topology.o es7000.o
===== arch/i386/mach-pc9800/Makefile 1.1 vs edited =====
arch/i386/mach-pc9800/Makefile +0 -2
@@ -2,6 +2,4 @@ # Makefile for the linux kernel. # -EXTRA_CFLAGS += -I../kernel - obj-y := setup.o topology.o
===== arch/i386/mach-visws/Makefile 1.6 vs edited =====
arch/i386/mach-visws/Makefile +0 -2
@@ -2,8 +2,6 @@ # Makefile for the linux kernel. # -EXTRA_CFLAGS += -I../kernel - obj-y := setup.o traps.o reboot.o obj-$(CONFIG_X86_VISWS_APIC) += visws_apic.o