On Tue, 2002-07-09 at 07:36, brenner joel wrote:
Hi all!
I'm trying to use the SERIAL_GENERIC_16X5X serial driver for my
custom target. (I've used arm/pid serial driver as example)
When I compile the kernel I've the following error message:
/home/brenner/ecos/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c
/home/brenner/ecos/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c:213:44:
cyg/io/arm_rms_extern_ser.inl: No such file or directory
and this is right because no inline file is placed cyg/io/.
In the cdl file of rm_rms_extern_ser following paths are defined
...
define_proc {
puts $::cdl_system_header "/***** serial driver proc output
start *****/"
puts $::cdl_system_header "#define
CYGDAT_IO_SERIAL_GENERIC_16X5X_INL <cyg/io/arm_rms_extern_ser.inl>"
puts $::cdl_system_header "#define
CYGDAT_IO_SERIAL_GENERIC_16X5X_CFG <pkgconf/io_extserial_arm_rms.h>"
puts $::cdl_system_header "/***** serial driver proc output
end *****/"
}
...
witch are used to configure the SERIAL_GENERIC_16X5X driver
My question is: where I've to define a command witch copies
devs/serial/arm/rms/current/include/arm_rms_extern_ser.inl to
<cyg/io/arm_rms_extern_ser.inl> and what is this command?
Just use the "include_dir" CDL command in the same file that has
the "define proc". e.g.
include_dir cyg/io
This will cause the include files (from the package .../include
directory) to be placed in the <cyg/io/...> directory.
"include_dir" CDL command is already there :