From 816c8ae5b6d0ee830eca18c818737560f0deaf6c Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 15 Jan 2006 20:00:03 +0000 Subject: [PATCH] Patch from abbotti@mev.co.uk (Ian Abbott), fixes following problem: New compiler option in kernel Makefile blows away all comedi compilation: -include include/linux/autoconf.h --- m4/as-linux.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m4/as-linux.m4 b/m4/as-linux.m4 index 393d4a94..14c724b6 100644 --- a/m4/as-linux.m4 +++ b/m4/as-linux.m4 @@ -492,7 +492,8 @@ flags: echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>\$(obj)/flags echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>\$(obj)/flags echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>\$(obj)/flags - echo LINUX_CFLAGS=\"\$(CFLAGS) \$(CPPFLAGS)\" | sed 's,Iinclude,I\$(LINUXDIR)/include,g' >>\$(obj)/flags + echo LINUX_CFLAGS=\"\$(CFLAGS) \$(CPPFLAGS)\" \ + | sed -e 's,-Iinclude,-I\$(LINUXDIR)/include,g' -e 's,-include include,-include \$(LINUXDIR)/include,g' >>\$(obj)/flags echo LINUX_CFLAGS_MODULE=\"\$(CFLAGS_MODULE)\" >>\$(obj)/flags echo LINUX_CC=\"\$(CC)\" >>\$(obj)/flags echo LINUX_LD=\"\$(LD) \$(LDFLAGS) \$(LDFLAGS_MODULE)\" >>\$(obj)/flags -- 2.26.2