Last change
on this file since 35fd816 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:
1.4 KB
|
Line | |
---|
1 | # Platform
|
---|
2 | PLATFORM = ia32
|
---|
3 |
|
---|
4 | # CPU type
|
---|
5 | PROCESSOR = pentium4
|
---|
6 |
|
---|
7 | # Ramdisk format
|
---|
8 | RDFMT = ext4fs
|
---|
9 |
|
---|
10 | # Compiler
|
---|
11 | COMPILER = gcc_cross
|
---|
12 |
|
---|
13 | # In case compiler is clang, whether or not to use its integrated assembler.
|
---|
14 | INTEGRATED_AS = default
|
---|
15 |
|
---|
16 | # Debug build
|
---|
17 | CONFIG_DEBUG = y
|
---|
18 |
|
---|
19 | # Deadlock detection support for spinlocks
|
---|
20 | CONFIG_DEBUG_SPINLOCK = y
|
---|
21 |
|
---|
22 | # ACPI support
|
---|
23 | CONFIG_ACPI = y
|
---|
24 |
|
---|
25 | # Support for SMP
|
---|
26 | CONFIG_SMP = y
|
---|
27 |
|
---|
28 | # Lazy FPU context switching
|
---|
29 | CONFIG_FPU_LAZY = y
|
---|
30 |
|
---|
31 | # Support for userspace debuggers
|
---|
32 | CONFIG_UDEBUG = y
|
---|
33 |
|
---|
34 | # Kernel console support
|
---|
35 | CONFIG_KCONSOLE = y
|
---|
36 |
|
---|
37 | # Kernel symbol information
|
---|
38 | CONFIG_SYMTAB = y
|
---|
39 |
|
---|
40 | # Detailed kernel logging
|
---|
41 | CONFIG_LOG = n
|
---|
42 |
|
---|
43 | # Kernel function tracing
|
---|
44 | CONFIG_TRACE = n
|
---|
45 |
|
---|
46 | # Compile kernel tests
|
---|
47 | CONFIG_TEST = y
|
---|
48 |
|
---|
49 | # Kernel RCU implementation
|
---|
50 | RCU = PREEMPT_A
|
---|
51 |
|
---|
52 | # Input device class
|
---|
53 | CONFIG_HID_IN = generic
|
---|
54 |
|
---|
55 | # Output device class
|
---|
56 | CONFIG_HID_OUT = generic
|
---|
57 |
|
---|
58 | # PC keyboard support
|
---|
59 | CONFIG_PC_KBD = y
|
---|
60 |
|
---|
61 | # EGA support
|
---|
62 | CONFIG_EGA = y
|
---|
63 |
|
---|
64 | # Framebuffer support
|
---|
65 | CONFIG_FB = y
|
---|
66 |
|
---|
67 | # Default framebuffer mode
|
---|
68 | CONFIG_BFB_MODE = 1024x768
|
---|
69 |
|
---|
70 | # Default framebuffer depth
|
---|
71 | CONFIG_BFB_BPP = 16
|
---|
72 |
|
---|
73 | # Dynamic linking support
|
---|
74 | CONFIG_RTLD = y
|
---|
75 |
|
---|
76 | # Build shared libraries
|
---|
77 | CONFIG_BUILD_SHARED_LIBS = y
|
---|
78 |
|
---|
79 | # Link against shared libraries
|
---|
80 | CONFIG_USE_SHARED_LIBS = y
|
---|
81 |
|
---|
82 | # Include development files (headers, libraries)
|
---|
83 | CONFIG_DEVEL_FILES = y
|
---|
84 |
|
---|
85 | # OHCI root hub power switch, ganged is enough
|
---|
86 | OHCI_POWER_SWITCH = ganged
|
---|
87 |
|
---|
88 | # GRUB boot loader architecture
|
---|
89 | GRUB_ARCH = pc
|
---|
90 |
|
---|
91 | # Optimization level
|
---|
92 | OPTIMIZATION = 3
|
---|
Note:
See
TracBrowser
for help on using the repository browser.