diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2021-11-17 13:06:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 16:48:59 +0100 |
commit | 55d0f80ecf0be13c2fdfa0c0917436f88f6502ff (patch) | |
tree | cf1abfa6f7a6a38a3332fde72821e022cd6f689c /drivers/comedi/comedi_pcmcia.c | |
parent | comedi: Move the main COMEDI headers (diff) | |
download | linux-55d0f80ecf0be13c2fdfa0c0917436f88f6502ff.tar.xz linux-55d0f80ecf0be13c2fdfa0c0917436f88f6502ff.zip |
comedi: ni_routing: tools: Update due to moved COMEDI headers
Building of the tools for converting the NI routing information between
CSV files (for maintenance) and C files (for building) was broken by the
move of the main COMEDI header files to "include/uapi/linux/" and
"include/linux/". (These tools are not built as part of the normal
kernel build process.) Fix it in the Makefile.
A slight niggle is that `#include <linux/comedi.h>` needs to work when
compiling the `convert_c_to_py` program, but it cannot use a `-I` option
referring to the "uapi" include directory because that interferes with
inclusion of other system headers. So it uses `-I.` and makes a local
copy (actually a symbolic link) as "./linux/comedi.h".
Also remove some unneeded cruft such as the `-D"BIT(x)=(1<<(x))"`
preprocessor flag.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20211117120604.117740-3-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/comedi/comedi_pcmcia.c')
0 files changed, 0 insertions, 0 deletions