projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982c212
)
add -DKBUILD_MODNAME=... to COMEDI_CFLAGS (required by linux/module.h
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 25 Jan 2004 00:09:59 +0000
(
00:09
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 25 Jan 2004 00:09:59 +0000
(
00:09
+0000)
to make modprobe recognize modules under 2.6
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 9b4a802840149b74227365f6b55f9ae159b6f877..6df0aa4e1ff023daa6201ca08c34c7b0e39cd2a4 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-50,7
+50,7
@@
CC=$LINUX_CC
#ERROR_CFLAGS="-Werror"
-COMEDI_CFLAGS="$ERROR_CFLAGS -I\$(top_srcdir)/include/"
+[COMEDI_CFLAGS="$ERROR_CFLAGS -I\$(top_srcdir)/include/ -DKBUILD_MODNAME=\$(shell echo \$@ | sed 's/\(.*\)\.o/\1/g' | sed 's/\(.*\)_ko.*/\1/g')"]
AC_SUBST(COMEDI_CFLAGS)
AC_ARG_ENABLE([pcmcia],[ --disable-pcmcia Disable support for PCMCIA devices],