From 254cf3fb1af49d346c0113d5ea0aef8c9eb4ecd3 Mon Sep 17 00:00:00 2001 From: NicJA Date: Wed, 29 Apr 2015 15:36:48 +0000 Subject: [PATCH] add the raspi-armhf smp variant git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50497 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- configure | 7 +++++++ configure.in | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/configure b/configure index 9912407441..ad2dd677c1 100755 --- a/configure +++ b/configure @@ -649,6 +649,7 @@ aros_ios_platform aros_enable_mmu aros_nesting_supervisor aros_palm_debug_hack +ENABLE_EXECSMP aros_serial_debug aros_host_sdl_libs aros_host_sdl_cflags @@ -7664,6 +7665,7 @@ $as_echo "$enableval" >&6; } # # Bootloader name. Currently used by PC target. target_bootloader="none" +ENABLE_EXECSMP= #----------------------------------------------------------------------------- # Additional options for some specific targets @@ -8348,6 +8350,11 @@ case "$target_os" in aros_config_aflags="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions" aros_kernel_cflags="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions" aros_target_cflags="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions" + case "$aros_target_variant" in + smp) + ENABLE_EXECSMP="#define __AROSEXEC_SMP__" + ;; + esac ;; sun4i) diff --git a/configure.in b/configure.in index 32bfabd196..bbaf4e54be 100644 --- a/configure.in +++ b/configure.in @@ -775,6 +775,7 @@ AC_MSG_RESULT($enableval) # # Bootloader name. Currently used by PC target. target_bootloader="none" +ENABLE_EXECSMP= #----------------------------------------------------------------------------- # Additional options for some specific targets @@ -1324,6 +1325,11 @@ case "$target_os" in aros_config_aflags="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions" aros_kernel_cflags="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions" aros_target_cflags="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions" + case "$aros_target_variant" in + smp) + ENABLE_EXECSMP="#define __AROSEXEC_SMP__" + ;; + esac ;; sun4i) @@ -2738,6 +2744,7 @@ AC_SUBST(aros_host_sdl_libs) # Native version related AC_SUBST(aros_serial_debug) +AC_SUBST(ENABLE_EXECSMP) # Palm native version related AC_SUBST(aros_palm_debug_hack) -- 2.11.4.GIT