summaryrefslogtreecommitdiff
path: root/src/kern/SConscript
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-07 22:34:34 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-07 22:34:34 -0500
commitc693c6ba9f9d641344db8a2a505484f5f8aa2645 (patch)
treed17bdca9335a588738e5893306f57a962bb2646a /src/kern/SConscript
parent65bf3c521fe2d86e6e4233c755466d6c626bffd1 (diff)
downloadgem5-c693c6ba9f9d641344db8a2a505484f5f8aa2645.tar.xz
Put kernel_stats back into arch.
--HG-- rename : src/kern/alpha/idle_event.cc => src/arch/alpha/idle_event.cc rename : src/kern/alpha/idle_event.hh => src/arch/alpha/idle_event.hh rename : src/kern/alpha/kernel_stats.cc => src/arch/alpha/kernel_stats.cc rename : src/kern/alpha/kernel_stats.hh => src/arch/alpha/kernel_stats.hh rename : src/kern/sparc/kernel_stats.hh => src/arch/sparc/kernel_stats.hh rename : src/kern/base_kernel_stats.cc => src/kern/kernel_stats.cc rename : src/kern/base_kernel_stats.hh => src/kern/kernel_stats.hh extra : convert_revision : 42bd3e36b407edbd19b912c9218f4e5923a15966
Diffstat (limited to 'src/kern/SConscript')
-rw-r--r--src/kern/SConscript23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/kern/SConscript b/src/kern/SConscript
index 7245e2889..12df28836 100644
--- a/src/kern/SConscript
+++ b/src/kern/SConscript
@@ -34,7 +34,7 @@ import os.path, sys
Import('env')
sources = Split('''
- base_kernel_stats.cc
+ kernel_stats.cc
system_events.cc
linux/events.cc
linux/linux_syscalls.cc
@@ -45,25 +45,4 @@ sources = Split('''
# path relative to the top of the directory tree.
sources = [File(s) for s in sources]
-#################################################################
-#
-# ISA "switch header" generation.
-#
-# Auto-generate arch headers that include the right ISA-specific
-# header based on the setting of THE_ISA preprocessor variable.
-#
-#################################################################
-
-# List of headers to generate
-kern_switch_hdrs = Split('''
- kernel_stats.hh
- ''')
-
-env.make_switching_dir('kern', kern_switch_hdrs, env)
-
-isa = env['TARGET_ISA'] # someday this may be a list of ISAs
-
-# Let the target architecture define what additional sources it needs
-sources += SConscript(os.path.join(isa, 'SConscript'), exports = 'env')
-
Return('sources')