From: Chris Wright Subject: [PATCH] Pull in syscall_table.S when building in separate object directory. Date: Mon, 8 Aug 2005 15:36:04 -0700 Message-ID: <20050808223604.GF7762@shell0.pdx.osdl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 --- 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)