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. --- testsuite/media01/test_main.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'testsuite/media01') diff --git a/testsuite/media01/test_main.c b/testsuite/media01/test_main.c index f929cba1..c9d902dc 100644 --- a/testsuite/media01/test_main.c +++ b/testsuite/media01/test_main.c @@ -200,7 +200,16 @@ early_initialization(void) #include +#ifdef RTEMS_BSD_MODULE_USR_SBIN_WPA_SUPPLICANT + #define SHELL_WPA_SUPPLICANT_COMMANDS \ + &rtems_shell_WPA_SUPPLICANT_Command, \ + &rtems_shell_WPA_SUPPLICANT_FORK_Command, +#else + #define SHELL_WPA_SUPPLICANT_COMMANDS +#endif + #define CONFIGURE_SHELL_USER_COMMANDS \ + SHELL_WPA_SUPPLICANT_COMMANDS \ &bsp_interrupt_shell_command, \ &rtems_shell_ARP_Command, \ &rtems_shell_HOSTNAME_Command, \ @@ -209,9 +218,7 @@ early_initialization(void) &rtems_shell_NETSTAT_Command, \ &rtems_shell_SYSCTL_Command, \ &rtems_shell_IFCONFIG_Command, \ - &rtems_shell_VMSTAT_Command, \ - &rtems_shell_WPA_SUPPLICANT_Command, \ - &rtems_shell_WPA_SUPPLICANT_FORK_Command + &rtems_shell_VMSTAT_Command #define CONFIGURE_SHELL_COMMAND_CPUINFO #define CONFIGURE_SHELL_COMMAND_CPUUSE -- cgit v1.2.3