[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to add a compile time configuration option to something in cpukit?
- Date: Thu, 03 Sep 2009 13:13:13 +0100
- From: timcussins at eml.cc (Tim Cussins)
- Subject: How to add a compile time configuration option to something in cpukit?
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://www.rtems.org/pipermail/rtems-users/attachments/20090903/e91fd361/attachment.bin>