source: mainline/defaults/special/Makefile.config@ ff14aede

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since ff14aede 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: 590 bytes
Line 
1# RAM disk format
2RDFMT = ext4fs
3
4# Compiler
5COMPILER = gcc_cross
6
7# In case compiler is clang, whether or not to use its integrated assembler.
8INTEGRATED_AS = default
9
10# Support for SMP
11CONFIG_SMP = y
12
13# Debug build
14CONFIG_DEBUG = y
15
16# Support for userspace debuggers
17CONFIG_UDEBUG = y
18
19# Kernel console support
20CONFIG_KCONSOLE = y
21
22# Kernel symbol information
23CONFIG_SYMTAB = y
24
25# Detailed kernel logging
26CONFIG_LOG = n
27
28# Kernel function tracing
29CONFIG_TRACE = n
30
31# Compile kernel tests
32CONFIG_TEST = y
33
34# Kernel RCU implementation
35RCU = PREEMPT_A
36
37# Optimization level
38OPTIMIZATION = 3
Note: See TracBrowser for help on using the repository browser.