From: Corey Minyard <minyard@acm.org>
To: Andi Kleen <ak@muc.de>, Vojtech Pavlik <vojtech@suse.cz>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] Fix for arch/x86_64/pci/Makefile CFLAGS
Date: Tue, 3 Oct 2006 08:12:43 -0500 [thread overview]
Message-ID: <20061003131242.GA32190@localdomain> (raw)
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
reply other threads:[~2006-10-03 13:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061003131242.GA32190@localdomain \
--to=minyard@acm.org \
--cc=ak@muc.de \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®