source: mainline/defaults/ia64/Makefile.config@ 8348846

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 8348846 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: 860 bytes
Line 
1# Platform
2PLATFORM = ia64
3
4# Ramdisk format
5RDFMT = ext4fs
6
7# Compiler
8COMPILER = gcc_cross
9
10# In case compiler is clang, whether or not to use its integrated assembler.
11INTEGRATED_AS = default
12
13# Debug build
14CONFIG_DEBUG = y
15
16# Deadlock detection support for spinlocks
17CONFIG_DEBUG_SPINLOCK = y
18
19# Support for SMP
20CONFIG_SMP = y
21
22# Lazy FPU context switching
23CONFIG_FPU_LAZY = y
24
25# Use VHPT
26CONFIG_VHPT = n
27
28# Support for userspace debuggers
29CONFIG_UDEBUG = y
30
31# Kernel console support
32CONFIG_KCONSOLE = y
33
34# Kernel symbol information
35CONFIG_SYMTAB = y
36
37# Detailed kernel logging
38CONFIG_LOG = n
39
40# Kernel function tracing
41CONFIG_TRACE = n
42
43# Compile kernel tests
44CONFIG_TEST = y
45
46# Kernel RCU implementation
47RCU = PREEMPT_A
48
49# Input device class
50CONFIG_HID_IN = generic
51
52# Output device class
53CONFIG_HID_OUT = generic
54
55# Optimization level
56OPTIMIZATION = 3
Note: See TracBrowser for help on using the repository browser.