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