How to add a compile time configuration option to something in cpukit?
Tim Cussins
timcussins at eml.cc
Thu Sep 3 12:13:13 UTC 2009
Hi Sebastian
This patch probably won't apply correctly, but it's most of what I
needed to get a new configure option into cpukit.
Could be enough to get you started?
HTH
Tim
On Thu, 2009-09-03 at 12:18 +0200, Sebastian Huber wrote:
> Hi,
>
> the FTP client resides in the cpukit. It can use gethostbyname() to obtain an
> internet address from a DNS name. The dependency on DNS adds 35k of code
> (THUMB op-codes). I want to add a configuration option to disable this
> feature. Can I add this with RTEMS_CPUOPT in cpukit/configure.ac? What are the
> naming conventions for such options? I would use
>
> RTEMS_CPUOPT([RTEMS_FTPFS_DISABLE_DNS_SUPPORT],
> [test x"${RTEMS_FTPFS_DISABLE_DNS_SUPPORT}" = x"1"],
> [1],
> [disables DNS support for the FTP client])
>
> Have a nice day!
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tlsf-config.diff
Type: text/x-patch
Size: 5023 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20090903/e91fd361/attachment-0001.bin>
More information about the users
mailing list