Changes in meson/arch/arm32/meson.build [c21d4d6:2944b5a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/arch/arm32/meson.build
rc21d4d6 r2944b5a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 41 42 ] 42 43 44 arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ] 45 arch_kernel_c_args += cc.get_supported_arguments(['-mgeneral-regs-only' ]) 46 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ] 47 43 48 if CONFIG_FPU 44 # This is necessary for kernel too, to allow vmsr insn and fpexc manipulation. 45 # Use vfp32 to allow context save/restore of d16-d31 regs. 46 arch_uspace_c_args += [ '-mfloat-abi=hard' ] 49 # Need to use softfp because our libgcc.a uses it too 50 # softfp - generate code with soft-float calling conventions but allow use 51 # of "hard" float instructions 52 arch_uspace_c_args += [ '-mfloat-abi=softfp' ] 47 53 endif 48 49 arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ]50 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]51 54 arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ] 52 55 … … 54 57 arch_boot_link_args = arch_kernel_link_args 55 58 56 57 rd_essential += [ 59 rd_essential_drv += [ 58 60 'drv/bus/usb/ehci', 59 61 'drv/bus/usb/ohci', … … 73 75 74 76 elif MACHINE == 'beagleboardxm' or MACHINE == 'beaglebone' 75 rd_essential += [77 rd_essential_drv += [ 76 78 'drv/platform/amdm37x', 77 79 'drv/fb/amdm37x_dispc', … … 79 81 80 82 elif MACHINE == 'integratorcp' 81 rd_essential += [83 rd_essential_drv += [ 82 84 'drv/char/pl050', 83 85 'drv/hid/atkbd', … … 87 89 ] 88 90 endif 91 92 rd_drv += rd_essential_drv
Note:
See TracChangeset
for help on using the changeset viewer.