From: Ian Abbott Date: Wed, 5 Jul 2006 09:41:57 +0000 (+0000) Subject: Removed MODVERDIR=${tmpdir} when checking CFLAGS, as recent kernel Makefiles X-Git-Tag: r0_7_71~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=68242e134be3f62664aee7e37b0a66ae4d95b83f;p=comedi.git Removed MODVERDIR=${tmpdir} when checking CFLAGS, as recent kernel Makefiles delete that directory or everything in it. Let the kernel Makefile set MODVERDIR by itself. --- diff --git a/m4/as-linux.m4 b/m4/as-linux.m4 index ab8ef36e..c4ba11d0 100644 --- a/m4/as-linux.m4 +++ b/m4/as-linux.m4 @@ -500,8 +500,8 @@ flags: echo LINUX_AS=\"\$(AS)\" >>\$(obj)/flags EOF - echo ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5 - ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5 + echo ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} modules >&5 2>&5 + ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} modules >&5 2>&5 . ${tmpdir}/flags rm -rf ${tmpdir}