From 338f3005fc420b2c26f597ae6c0754f391c9fcca Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Wed, 25 Apr 2018 16:28:00 +0200 Subject: buildset: Add minimal and everything config. This adds two new buildset configurations: One that leaves out as much features as possible and one that enables all features. For the default configuration WiFi support is now disabled. To disable IPv6 for the minimal configuration, all -DINET6 are eliminated in libbsd.py. They are now replaced by a #ifdef that checks for RTEMS_BSD_MODULE_NETINET6 instead. Close #3351. --- freebsd/sbin/ping6/ping6.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'freebsd/sbin/ping6/ping6.c') diff --git a/freebsd/sbin/ping6/ping6.c b/freebsd/sbin/ping6/ping6.c index 9faf09e2..972ef38e 100644 --- a/freebsd/sbin/ping6/ping6.c +++ b/freebsd/sbin/ping6/ping6.c @@ -69,6 +69,7 @@ * SUCH DAMAGE. */ +#if defined(__rtems__) && defined(INET6) #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1989, 1993\n\ @@ -2835,3 +2836,4 @@ usage(void) " [-X timeout] [hops ...] host\n"); exit(1); } +#endif /* defined(__rtems__) && defined(INET6) */ -- cgit v1.2.3