Rather than defining a kernel stack in random places for each architecure for each mode (32/64) and for single/SMP modes, make the stack definition shareable between all of the above. This is also useful for the future ARM SMP work.
17 lines
465 B
Makefile
17 lines
465 B
Makefile
#
|
|
# Copyright 2014, General Dynamics C4 Systems
|
|
#
|
|
# This software may be distributed and modified according to the terms of
|
|
# the GNU General Public License version 2. Note that NO WARRANTY is provided.
|
|
# See "LICENSE_GPLv2.txt" for details.
|
|
#
|
|
# @TAG(GD_GPL)
|
|
#
|
|
|
|
DIRECTORIES += src/kernel
|
|
|
|
C_SOURCES += src/kernel/cspace.c \
|
|
src/kernel/faulthandler.c \
|
|
src/kernel/thread.c \
|
|
src/kernel/boot.c \
|
|
src/kernel/stack.c
|