From 45491a8804c8d57e95b82f85f5587035e13d3b8d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 5 Apr 2015 15:49:32 -0500 Subject: lm32 BSPs: Add lm32_evr variant for running on gdb. Lay groundwork for a simulator configuration configuration for the Milkymist. This is needed to use the shared code. --- c/src/lib/libbsp/lm32/milkymist/configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'c/src/lib/libbsp/lm32/milkymist/configure.ac') diff --git a/c/src/lib/libbsp/lm32/milkymist/configure.ac b/c/src/lib/libbsp/lm32/milkymist/configure.ac index 225e11c0cf..e28942670e 100644 --- a/c/src/lib/libbsp/lm32/milkymist/configure.ac +++ b/c/src/lib/libbsp/lm32/milkymist/configure.ac @@ -16,14 +16,17 @@ RTEMS_PROG_CCAS RTEMS_CHECK_NETWORKING AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") -RTEMS_BSPOPTS_SET([ON_SIMULATOR],[*],[]) -RTEMS_BSPOPTS_HELP([ON_SIMULATOR], +RTEMS_BSPOPTS_SET([LM32_ON_SIMULATOR],[*],[]) +RTEMS_BSPOPTS_HELP([LM32_ON_SIMULATOR], [If defined, this indicates the BSP is being built to run on the lm32 simulator in GDB. This enables fast idle support which speeds up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites. It also enables a special exit and alternate printk support.]) +AM_CONDITIONAL(LM32_ON_SIMULATOR,test x"$LM32_ON_SIMULATOR" = "x1") + +RTEMS_BSP_CLEANUP_OPTIONS(0, 1, 0) RTEMS_BSP_CLEANUP_OPTIONS(0,0) # Explicitly list all Makefiles here -- cgit v1.2.3