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. --- .../include/rtems/bsd/test/default-network-init.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'testsuite/include/rtems/bsd/test/default-network-init.h') diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h index d26df03c..ee95d26e 100644 --- a/testsuite/include/rtems/bsd/test/default-network-init.h +++ b/testsuite/include/rtems/bsd/test/default-network-init.h @@ -47,6 +47,7 @@ #include #include #include +#include #if defined(DEFAULT_NETWORK_DHCPCD_ENABLE) && \ !defined(DEFAULT_NETWORK_NO_STATIC_IFCONFIG) @@ -327,7 +328,21 @@ Init(rtems_task_argument arg) #include +#ifdef RTEMS_BSD_MODULE_USER_SPACE_WLANSTATS + #define SHELL_WLANSTATS_COMMAND &rtems_shell_WLANSTATS_Command, +#else + #define SHELL_WLANSTATS_COMMAND +#endif + +#ifdef RTEMS_BSD_MODULE_USR_SBIN_WPA_SUPPLICANT + #define SHELL_WPA_SUPPLICANT_COMMAND &rtems_shell_WPA_SUPPLICANT_Command, +#else + #define SHELL_WPA_SUPPLICANT_COMMAND +#endif + #define CONFIGURE_SHELL_USER_COMMANDS \ + SHELL_WLANSTATS_COMMAND \ + SHELL_WPA_SUPPLICANT_COMMAND \ &bsp_interrupt_shell_command, \ &rtems_shell_ARP_Command, \ &rtems_shell_HOSTNAME_Command, \ @@ -337,9 +352,7 @@ Init(rtems_task_argument arg) &rtems_shell_IFCONFIG_Command, \ &rtems_shell_TCPDUMP_Command, \ &rtems_shell_SYSCTL_Command, \ - &rtems_shell_VMSTAT_Command, \ - &rtems_shell_WLANSTATS_Command, \ - &rtems_shell_WPA_SUPPLICANT_Command + &rtems_shell_VMSTAT_Command #define CONFIGURE_SHELL_COMMAND_CPUINFO #define CONFIGURE_SHELL_COMMAND_CPUUSE -- cgit v1.2.3