[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Pull in syscall_table.S when building in separate object directory.


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Chris Wright <chrisw@xxxxxxxx>
  • Date: Mon, 8 Aug 2005 15:36:04 -0700
  • Delivery-date: Mon, 08 Aug 2005 22:34:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

When building in separate object directory entry.o fails building
because entry.S includes syscall_table.S but it's in the wrong
directory.  This simply adds the obj-dir to the include search path.

Signed-off-by: Chris Wright <chrisw@xxxxxxxx>

--- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/Makefile        Mon Aug  8 
18:43:57 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/Makefile        Mon Aug  8 
15:15:06 2005
@@ -92,6 +92,7 @@
 
 $(obj)/vsyscall-int80.S: $(obj)/vsyscall-sigreturn.S
 
+EXTRA_AFLAGS   += -I$(obj)
 $(obj)/entry.o: $(src)/entry.S $(src)/syscall_table.S
 
 obj-y  += $(c-obj-y) $(s-obj-y)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.