qubes-linux-kernel/patches.suse/kdb-x86-build-fixes

20 lines
606 B
Plaintext
Raw Normal View History

From: Jeff Mahoney <jeffm@suse.com>
Subject: kdb: Use $srctree not $TOPDIR in Makefile
Patch-mainline: not yet, whenever KDB is upstream
$TOPDIR doesn't work when building out of tree. Use $srctree instead.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
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