diff options
author | Damien Zammit <damien@zamaudio.com> | 2021-04-04 15:08:12 +1000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-04-04 16:27:17 +0200 |
commit | 214866d58ac2bd1060132b250bf391a495110015 (patch) | |
tree | faa4509549a8d4b580b4b52e00162efd30d3f480 /i386/configfrag.ac | |
parent | 71db59f69602e54c33ba707c8e4a7a66f6c9ca0b (diff) | |
download | gnumach-214866d58ac2bd1060132b250bf391a495110015.tar.gz gnumach-214866d58ac2bd1060132b250bf391a495110015.tar.bz2 gnumach-214866d58ac2bd1060132b250bf391a495110015.zip |
Add ioapic support disabled by default
Use --enable-ncpus=x --enable-apic where x > 1 for SMP+APIC support.
Use neither for no SMP and old PIC support.
Message-Id: <20210404050812.145483-1-damien@zamaudio.com>
Diffstat (limited to 'i386/configfrag.ac')
-rw-r--r-- | i386/configfrag.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/i386/configfrag.ac b/i386/configfrag.ac index bf4af110..f697e277 100644 --- a/i386/configfrag.ac +++ b/i386/configfrag.ac @@ -92,6 +92,14 @@ if [ x"$enable_lpr" = xyes ]; then] AM_CONDITIONAL([enable_lpr], [false]) [fi] +AC_ARG_ENABLE([apic], + AS_HELP_STRING([--enable-apic], [LAPIC/IOAPIC support])) +[if [ x"$enable_apic" = xyes ]; then] + AC_DEFINE([APIC], [1], [APIC support]) + AM_CONDITIONAL([enable_apic], [true]) +[else] + AM_CONDITIONAL([enable_apic], [false]) +[fi] [case $host_platform:$host_cpu in xen:i?86) |