diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -58,7 +58,12 @@ else: | |||
58 | arch_flags = Split(SUPPORTED_ARCHS[arch]) | 58 | arch_flags = Split(SUPPORTED_ARCHS[arch]) |
59 | 59 | ||
60 | # add architecture dependent include search path | 60 | # add architecture dependent include search path |
61 | KERNEL_ARCH_INCLUDE = '%s/arch/%s/include' % (LITMUS_KERNEL, arch) | 61 | if arch in ['x86','x86_64']: |
62 | include_arch = 'x86' | ||
63 | else: | ||
64 | include_arch = 'sparc' | ||
65 | |||
66 | KERNEL_ARCH_INCLUDE = '%s/arch/%s/include' % (LITMUS_KERNEL, include_arch) | ||
62 | INCLUDE_DIRS = INCLUDE_DIRS + ' ' + KERNEL_ARCH_INCLUDE | 67 | INCLUDE_DIRS = INCLUDE_DIRS + ' ' + KERNEL_ARCH_INCLUDE |
63 | 68 | ||
64 | # Set Environment | 69 | # Set Environment |