]> Git Repo - linux.git/commitdiff
[PATCH] x86-64: Fix for arch/x86_64/pci/Makefile CFLAGS
authorCorey Minyard <[email protected]>
Sat, 21 Oct 2006 16:37:01 +0000 (18:37 +0200)
committerAndi Kleen <[email protected]>
Sat, 21 Oct 2006 16:37:01 +0000 (18:37 +0200)
The arch/x86_64/pci directory was giving problems in a wierd cross-compile
environment.  The exact cause is unknown, but the Makefile used CFLAGS
instead of EXTRA_CFLAGS.  From what I can tell from
Documentation/kbuild/makefiles.txt, CFLAGS should not be used for this, it
should be EXTRA_CFLAGS.  And it solves the cross-compile problem.

Signed-off-by: Corey Minyard <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Vojtech Pavlik <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
arch/x86_64/pci/Makefile

index 1eb18f421edff11924187e8242781bd68116a168..149aba05a5b8e70c6abb22dd17e21b1f1994adf4 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Reuse the i386 PCI subsystem
 #
-CFLAGS += -Iarch/i386/pci
+EXTRA_CFLAGS += -Iarch/i386/pci
 
 obj-y          := i386.o
 obj-$(CONFIG_PCI_DIRECT)+= direct.o
This page took 0.042048 seconds and 4 git commands to generate.