]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[XFS] Fix up xfs out-of-tree builds. (a.k.a. external modules)
authorEric Sandeen <sandeen@sandeen.net>
Tue, 27 Nov 2007 05:59:56 +0000 (16:59 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Mon, 18 Feb 2008 01:59:11 +0000 (12:59 +1100)
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:

SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:29878a

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/Makefile

index 6bf3ee2bea5d13fa4a6d3161a095887d6ad1514f..57c923212d72d4baaee1a2d43728eb18c8ac4526 100644 (file)
@@ -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