diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-16 20:05:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-16 20:05:26 +0000 |
commit | 20546ace8743916f795dafdba75f0949107f1b77 (patch) | |
tree | 458c29d1c3cd3583b7b57eba82569fbda670785f /c/src/lib/libbsp/i386/pc386/Makefile.am | |
parent | 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com> (diff) | |
download | rtems-20546ace8743916f795dafdba75f0949107f1b77.tar.bz2 |
2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
* Makefile.am, configure.ac: Add next step in SMP support. This adds an
allocated array of the Per_CPU structures to support multiple cpus vs
a single instance of the structure which is still used if SMP support
is disabled. Configuration support is also added to explicitly enable
or disable SMP. But SMP can only be enabled for the CPUs which will
support it initially -- SPARC and i386. With the stub BSP support, a
BSP can be run as a single core SMP system from an RTEMS data
structure standpoint.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/Makefile.am b/c/src/lib/libbsp/i386/pc386/Makefile.am index fbb8bb706b..8c1806b30d 100644 --- a/c/src/lib/libbsp/i386/pc386/Makefile.am +++ b/c/src/lib/libbsp/i386/pc386/Makefile.am @@ -108,6 +108,10 @@ libbsp_a_SOURCES += timer/timer.c timer/timerisr.S # ide libbsp_a_SOURCES += ide/idecfg.c ide/ide.c +if HAS_SMP +libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c +endif + if HAS_NETWORKING ne2000_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ noinst_PROGRAMS += ne2000.rel |