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

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 
1atsign = '%'
2
3_cpudef = '-mcpu=' + '-'.join(PROCESSOR.split('_'))
4
5
6arch_uspace_c_args = [
7 _cpudef,
8 '-D__LE__',
9 '-fno-omit-frame-pointer',
10 '-mapcs-frame',
11 '-ffixed-r9',
12 '-mtp=soft',
13]
14
15if 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' ]
19endif
20
21arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ]
22arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]
23arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ]
24
25arch_boot_c_args = arch_kernel_c_args
26arch_boot_link_args = arch_kernel_link_args
27
28
29rd_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
40if MACHINE == 'gta02'
41 rd_essential += [
42 'srv/hid/s3c24xx_ts',
43 'srv/hw/char/s3c24xx_uart',
44 ]
45
46elif MACHINE == 'beagleboardxm' or MACHINE == 'beaglebone'
47 rd_essential += [
48 'drv/platform/amdm37x',
49 'drv/fb/amdm37x_dispc',
50 ]
51
52elif 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 ]
60endif
Note: See TracBrowser for help on using the repository browser.