lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 7b1ae09 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
|
| Line | |
|---|
| 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 |
|
|---|
| 6 | arch_uspace_c_args = [
|
|---|
| 7 | '-D__LE__',
|
|---|
| 8 | '-fno-omit-frame-pointer',
|
|---|
| 9 | ]
|
|---|
| 10 |
|
|---|
| 11 | arch_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 |
|
|---|
| 19 | if PROCESSOR == 'opteron'
|
|---|
| 20 | arch_kernel_c_args += '-march=opteron'
|
|---|
| 21 | endif
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | # TODO: Enable --gc-sections
|
|---|
| 25 | arch_kernel_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-Wl,--no-gc-sections' ]
|
|---|
| 26 | arch_uspace_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-lgcc' ]
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | rd_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.