summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-07-01 16:43:56 +1000
committerChris Johns <chrisj@rtems.org>2016-07-01 16:43:56 +1000
commit34f62714250197cb09ede7f12589c311b4333fc4 (patch)
tree2ecfd4ff77f2a2d19e70b960494111b52a7d4d4f
parentAdd a wait for key press to test rccof02. (diff)
downloadrtems-libbsd-34f62714250197cb09ede7f12589c311b4333fc4.tar.bz2
Provide empty RTEMS_BSD_CFGDECL_.* defines if not used.
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-config.h b/rtemsbsd/include/machine/rtems-bsd-config.h
index 80e6af83..a8e96788 100644
--- a/rtemsbsd/include/machine/rtems-bsd-config.h
+++ b/rtemsbsd/include/machine/rtems-bsd-config.h
@@ -94,6 +94,8 @@ extern "C" {
*/
#if defined(RTEMS_BSD_CONFIG_NET_PF_UNIX)
#define RTEMS_BSD_CFGDECL_NET_PF_UNIX SYSINIT_NEED_NET_PF_UNIX
+#else
+ #define RTEMS_BSD_CFGDECL_NET_PF_UNIX
#endif /* RTEMS_BSD_CONFIG_NET_PF_UNIX */
/*
@@ -102,6 +104,8 @@ extern "C" {
*/
#if defined(RTEMS_BSD_CONFIG_NET_IF_LAGG)
#define RTEMS_BSD_CFGDECL_IF_LAGG SYSINIT_NEED_NET_IF_LAGG
+#else
+ #define RTEMS_BSD_CFGDECL_IF_LAGG
#endif /* RTEMS_BSD_CONFIG_NET_IF_LAGG */
/*
@@ -110,6 +114,8 @@ extern "C" {
*/
#if defined(RTEMS_BSD_CONFIG_NET_IF_VLAN)
#define RTEMS_BSD_CFGDECL_NET_IF_VLAN SYSINIT_NEED_NET_IF_VLAN
+#else
+ #define RTEMS_BSD_CFGDECL_NET_IF_VLAN
#endif /* RTEMS_BSD_CONFIG_NET_IF_VLAN */
/*
@@ -117,6 +123,8 @@ extern "C" {
*/
#if defined(RTEMS_BSD_CONFIG_SERVICE_FTPD)
#define RTEMS_BSD_CFGDECL_FTPD RTEMS_BSD_RC_CONF_SYSINT(rc_conf_ftpd)
+#else
+ #define RTEMS_BSD_CFGDECL_FTPD
#endif /* RTEMS_BSD_CONFIG_SERVICE_FTPD */
/*
@@ -128,6 +136,9 @@ extern "C" {
int rtems_telnetd_stack_size = RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE
#endif /* RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE */
#define RTEMS_BSD_CFGDECL_TELNETD RTEMS_BSD_RC_CONF_SYSINT(rc_conf_telnetd)
+#else
+ #define RTEMS_BSD_CFGDECL_TELNETD_STACK_SIZE
+ #define RTEMS_BSD_CFGDECL_TELNETD
#endif /* RTEMS_BSD_CONFIG_SERVICE_TELNETD */
/*