source: mainline/meson/arch/amd64/meson.build@ 7a4a6e5

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 7a4a6e5 was 63660a3, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

shuffle some variables around

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[63660a3]1# TODO: Red Zone is only a problem if we allow interrupts to land on an active
2# stack. Using separate stack for interrupts and ensuring that we never
3# enable interrupts on an interrupt stack would allow us to get rid of
4# the argument.
5
6arch_uspace_c_args = [
7 '-D__LE__',
8 '-fno-omit-frame-pointer',
9]
10
11arch_kernel_c_args = arch_uspace_c_args + [
12 '-mno-sse',
13 '-mno-sse2',
14 '-mcmodel=' + MEMORY_MODEL,
15 '-mno-red-zone',
16 '-fno-unwind-tables',
17]
18
19if PROCESSOR == 'opteron'
20 arch_kernel_c_args += '-march=opteron'
21endif
22
23
24# TODO: Enable --gc-sections
25arch_kernel_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-Wl,--no-gc-sections' ]
26arch_uspace_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-lgcc' ]
27
28
29rd_essential += [
30 'app/edit',
31 'app/mixerctl',
32 'app/wavplay',
33
34 'srv/audio/hound',
35
36 'drv/intctl/apic',
37 'drv/intctl/i8259',
38 'drv/platform/pc',
39 'drv/block/ata_bd',
40 'drv/bus/pci/pciintel',
41 'drv/bus/isa',
42 'drv/audio/sb16',
43 'drv/char/i8042',
44 'drv/hid/ps2mouse',
45 'drv/hid/xtkbd',
46]
Note: See TracBrowser for help on using the repository browser.