source: mainline/defaults/sparc64/Makefile.config@ 415c5116

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 415c5116 was a0a273e, checked in by jzr <zarevucky.jiri@…>, 8 years ago

Unify compiler handling a bit.

Most compiler flags have been changed from GCC-specific to "common",
since code might build but not work properly without them.
Clang still rejects some of the flags, but at least we can see
the incompatibilities now.

Explicit —target flag was removed from clang, in favor of using clang
through a target-specific symlink. This allows clang to automatically
find correct assembler and linker, if it needs to.

Additionally, assembly language files are now compiled using $(CC)
whether or not they need the preprocessor. This allows clang to build
.s files using its integrated assembler.

  • Property mode set to 100644
File size: 975 bytes
RevLine 
[648c9d9]1# Platform
2PLATFORM = sparc64
3
4# Ramdisk format
[d42a0bd]5RDFMT = ext4fs
[648c9d9]6
7# Compiler
8COMPILER = gcc_cross
9
[a0a273e]10# In case compiler is clang, whether or not to use its integrated assembler.
11INTEGRATED_AS = default
12
[648c9d9]13# Support for SMP
14CONFIG_SMP = y
15
16# Debug build
17CONFIG_DEBUG = y
18
19# Deadlock detection support for spinlocks
20CONFIG_DEBUG_SPINLOCK = y
21
22# Lazy FPU context switching
23CONFIG_FPU_LAZY = y
24
25# Use TSB
26CONFIG_TSB = y
27
28# Virtually indexed D-cache support
29CONFIG_VIRT_IDX_DCACHE = y
30
31# Support for userspace debuggers
32CONFIG_UDEBUG = y
33
34# Kernel console support
35CONFIG_KCONSOLE = y
36
[e2b762ec]37# Kernel symbol information
38CONFIG_SYMTAB = y
39
[648c9d9]40# Detailed kernel logging
41CONFIG_LOG = n
42
[ad8f03d2]43# Kernel function tracing
44CONFIG_TRACE = n
45
[648c9d9]46# Compile kernel tests
47CONFIG_TEST = y
48
[452e91b]49# Kernel RCU implementation
50RCU = PREEMPT_A
51
[648c9d9]52# Input device class
53CONFIG_HID_IN = generic
54
55# Output device class
56CONFIG_HID_OUT = generic
57
58# Start AP processors by the loader
59CONFIG_AP = y
[2c52073]60
61# Optimization level
62OPTIMIZATION = 3
Note: See TracBrowser for help on using the repository browser.