summaryrefslogtreecommitdiff
path: root/src/kern/SConscript
diff options
context:
space:
mode:
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')