1 # Makefile fragment for ROS kernel.
2 # This is NOT a complete makefile;
3 # you must run GNU make in the top-level directory
4 # where the GNUmakefile is located.
7 KERN_ARCH_SRC_DIR = $(KERN_DIR)/arch/$(TARGET_ARCH)
9 # entry.S must be first, so that it's the first code in the text segment!!!
11 # We also snatch the use of a couple handy source files
12 # from the lib directory, to avoid gratuitous code duplication.
13 KERN_ARCH_SRCFILES := $(KERN_ARCH_SRC_DIR)/entry.S \
14 $(KERN_ARCH_SRC_DIR)/trap_table.S \
15 $(KERN_ARCH_SRC_DIR)/trap_entry.S \
16 $(KERN_ARCH_SRC_DIR)/spillfill.S \
17 $(KERN_ARCH_SRC_DIR)/trap.c \
18 $(KERN_ARCH_SRC_DIR)/boot.c \
19 $(KERN_ARCH_SRC_DIR)/cpuinfo.c \
20 $(KERN_ARCH_SRC_DIR)/console.c \
21 $(KERN_ARCH_SRC_DIR)/frontend.c \
22 $(KERN_ARCH_SRC_DIR)/pmap.c \
23 $(KERN_ARCH_SRC_DIR)/timer.c \
24 $(KERN_ARCH_SRC_DIR)/env.c \
25 $(KERN_ARCH_SRC_DIR)/smp.c