lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 7a4a6e5 was 98975a8, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago |
arm32/integratorcp
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
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 | arch_boot_c_args = arch_kernel_c_args
|
---|
26 | arch_boot_link_args = arch_kernel_link_args
|
---|
27 |
|
---|
28 |
|
---|
29 | rd_essential += [
|
---|
30 | 'drv/bus/usb/ehci',
|
---|
31 | 'drv/bus/usb/ohci',
|
---|
32 | 'drv/bus/usb/usbdiag',
|
---|
33 | 'drv/bus/usb/usbflbk',
|
---|
34 | 'drv/bus/usb/usbhub',
|
---|
35 | 'drv/bus/usb/usbmid',
|
---|
36 | 'drv/block/usbmast',
|
---|
37 | 'drv/hid/usbhid',
|
---|
38 | ]
|
---|
39 |
|
---|
40 | if MACHINE == 'gta02'
|
---|
41 | rd_essential += [
|
---|
42 | 'srv/hid/s3c24xx_ts',
|
---|
43 | 'srv/hw/char/s3c24xx_uart',
|
---|
44 | ]
|
---|
45 |
|
---|
46 | elif MACHINE == 'beagleboardxm' or MACHINE == 'beaglebone'
|
---|
47 | rd_essential += [
|
---|
48 | 'drv/platform/amdm37x',
|
---|
49 | 'drv/fb/amdm37x_dispc',
|
---|
50 | ]
|
---|
51 |
|
---|
52 | elif MACHINE == 'integratorcp'
|
---|
53 | rd_essential += [
|
---|
54 | 'drv/char/pl050',
|
---|
55 | 'drv/hid/atkbd',
|
---|
56 | 'drv/hid/ps2mouse',
|
---|
57 | 'drv/intctl/icp-ic',
|
---|
58 | 'drv/platform/icp',
|
---|
59 | ]
|
---|
60 | endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.