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

Chris Wright
2005-08-08T22:36:04Z

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@osdl.org>

--- 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@lists.xensource.com