public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Lachlan McIlroy <lachlan@sgi.com>
Cc: xfs@oss.sgi.com
Subject: [PATCH 2/2] fix up out of tree builds (mainline only)
Date: Fri, 08 Feb 2008 23:13:30 -0600	[thread overview]
Message-ID: <47AD367A.8080804@sandeen.net> (raw)
In-Reply-To: <47AD284F.7080603@sandeen.net>

kernel.org git tree "port" of:

Fix up xfs out-of-tree builds. (a.k.a. external modules)

Change -I include directives to find headers in the out-of-tree spot.
This allows a directory containing only xfs files to be built as:

  # make -C /path/to/kernel M=`pwd`

Signed-off-by: Eric Sandeen <sandeen@sandeen.net <mailto:sandeen@sandeen.net>>
Merge of xfs-linux-melb:xfs-kern:29878a by kenmcd.

  fix up out-of-tree xfs builds.


Index: linux-2.6/fs/xfs/Makefile
===================================================================
--- linux-2.6.orig/fs/xfs/Makefile
+++ linux-2.6/fs/xfs/Makefile
@@ -16,7 +16,7 @@
 # Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #
 
-EXTRA_CFLAGS +=	 -Ifs/xfs -Ifs/xfs/linux-2.6 -funsigned-char
+EXTRA_CFLAGS +=	 -I$(src) -I$(src)/linux-2.6 -funsigned-char
 
 XFS_LINUX := linux-2.6
 

  parent reply	other threads:[~2008-02-09  5:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-08  2:27 [GIT PULL] XFS update for 2.6.25 Lachlan McIlroy
2008-02-09  4:13 ` Eric Sandeen
2008-02-09  4:56   ` Christoph Hellwig
2008-02-09  4:58     ` Eric Sandeen
2008-02-09  5:03       ` Christoph Hellwig
2008-02-09  5:09   ` [PATCH 1/2] - unwrap makefiles (mainline only) Eric Sandeen
2008-02-09  5:13   ` Eric Sandeen [this message]
2008-02-11  4:57   ` [GIT PULL] XFS update for 2.6.25 Lachlan McIlroy
2008-02-11  4:57     ` Eric Sandeen

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=47AD367A.8080804@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=lachlan@sgi.com \
    --cc=xfs@oss.sgi.com \
    /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