mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Fix for arch/x86_64/pci/Makefile CFLAGS
@ 2006-10-03 13:12 Corey Minyard
  0 siblings, 0 replies; only message in thread
From: Corey Minyard @ 2006-10-03 13:12 UTC (permalink / raw)
  To: Andi Kleen, Vojtech Pavlik; +Cc: Linux Kernel


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 <cminyard@mvista.com>

Index: linux-2.6.18/arch/x86_64/pci/Makefile
===================================================================
--- linux-2.6.18.orig/arch/x86_64/pci/Makefile
+++ linux-2.6.18/arch/x86_64/pci/Makefile
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-03 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-03 13:12 [PATCH] Fix for arch/x86_64/pci/Makefile CFLAGS Corey Minyard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®