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.2 KB
|
| Rev | Line | |
|---|
| [63660a3] | 1 | atsign = '%'
|
|---|
| 2 |
|
|---|
| 3 | _cpudef = '-mcpu=' + '-'.join(PROCESSOR.split('_'))
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 | arch_uspace_c_args = [
|
|---|
| 7 | _cpudef,
|
|---|
| 8 | '-D__LE__',
|
|---|
| 9 | '-fno-omit-frame-pointer',
|
|---|
| 10 | '-mapcs-frame',
|
|---|
| 11 | '-ffixed-r9',
|
|---|
| 12 | '-mtp=soft',
|
|---|
| 13 | ]
|
|---|
| 14 |
|
|---|
| 15 | if CONFIG_FPU
|
|---|
| 16 | # This is necessary for kernel too, to allow vmsr insn and fpexc manipulation.
|
|---|
| 17 | # Use vfp32 to allow context save/restore of d16-d31 regs.
|
|---|
| 18 | arch_uspace_c_args += [ '-mfloat-abi=hard' ]
|
|---|
| 19 | endif
|
|---|
| 20 |
|
|---|
| 21 | arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ]
|
|---|
| 22 | arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]
|
|---|
| 23 | arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ]
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | rd_essential += [
|
|---|
| 27 | 'drv/bus/usb/ehci',
|
|---|
| 28 | 'drv/bus/usb/ohci',
|
|---|
| 29 | 'drv/bus/usb/usbdiag',
|
|---|
| 30 | 'drv/bus/usb/usbflbk',
|
|---|
| 31 | 'drv/bus/usb/usbhub',
|
|---|
| 32 | 'drv/bus/usb/usbmid',
|
|---|
| 33 | 'drv/block/usbmast',
|
|---|
| 34 | 'drv/hid/usbhid',
|
|---|
| 35 | ]
|
|---|
| 36 |
|
|---|
| 37 | if MACHINE == 'gta02'
|
|---|
| 38 | rd_essential += [
|
|---|
| 39 | 'srv/hid/s3c24xx_ts',
|
|---|
| 40 | 'srv/hw/char/s3c24xx_uart',
|
|---|
| 41 | ]
|
|---|
| 42 |
|
|---|
| 43 | elif MACHINE == 'beagleboardxm' or MACHINE == 'beaglebone'
|
|---|
| 44 | rd_essential += [
|
|---|
| 45 | 'drv/platform/amdm37x',
|
|---|
| 46 | 'drv/fb/amdm37x_dispc',
|
|---|
| 47 | ]
|
|---|
| 48 |
|
|---|
| 49 | elif MACHINE == 'integratorcp'
|
|---|
| 50 | rd_essential += [
|
|---|
| 51 | 'drv/char/pl050',
|
|---|
| 52 | 'drv/hid/atkbd',
|
|---|
| 53 | 'drv/hid/ps2mouse',
|
|---|
| 54 | 'drv/intctl/icp-ic',
|
|---|
| 55 | 'drv/platform/icp',
|
|---|
| 56 | ]
|
|---|
| 57 | endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.