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>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-08-09 10:47:41 +00:00
1 parent 87ce6ef033
commit 1787e1a4b7
1 file changed
+1
@@ -92,6 +92,7 @@ $(patsubst %.o,$(obj)/%.c,$(c-obj-y) $(c-obj-m) $(c-link)) $(patsubst %.o,$(obj)
$(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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.