$TOPDIR doesn't work when building out of tree. Use $srctree instead.

Signed-off-by: Jeff Mahoney <[email protected]>
---
 arch/x86/kdb/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/kdb/Makefile
+++ b/arch/x86/kdb/Makefile
@@ -26,4 +26,4 @@ CFLAGS_kdba_bt.o += -DREGPARM=$(REGPARM)
 
 override CFLAGS := $(CFLAGS:%-pg=% )
 
-CFLAGS_kdba_io.o += -I $(TOPDIR)/arch/$(SRCARCH)/kdb
+CFLAGS_kdba_io.o += -I $(srctree)/arch/$(SRCARCH)/kdb


_______________________________________________
kdb mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/kdb

Reply via email to