Changes in meson/arch/arm64/meson.build [c89ae25:a73a1453] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/arch/arm64/meson.build
rc89ae25 ra73a1453 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda3 2 # Copyright (c) 2015 Petr Pavlu 4 3 # All rights reserved. … … 28 27 # 29 28 30 arch_uspace_c_args = [ 31 '-D__LE__', 32 '-fno-omit-frame-pointer', 33 cc.get_supported_arguments(['-mno-outline-atomics']), 34 ] 29 arch_uspace_c_args = [ '-D__LE__', '-fno-omit-frame-pointer' ] 35 30 arch_kernel_c_args = arch_uspace_c_args + [ '-march=armv8-a+nofp+nosimd', '-mgeneral-regs-only' ] 36 31 arch_kernel_link_args = [ '-nostdlib' ] 37 32 arch_uspace_link_args = [ '-nostdlib', '-lgcc' ] 33 38 34 39 35 # UEFI binaries should be relocatable, the EFI boot service LoadImage() will … … 47 43 # processor is in the execution mode that has unaligned access enabled. The 48 44 # -mstrict-align option is therefore not needed. 49 arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden' ] 50 arch_boot_link_args = [ '-Wl,-shared' ] + ldflags_ignore_rwx_segments 45 arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden', '-fno-function-sections' ] 46 arch_boot_link_args = [ '-Wl,-shared', '-Wl,--no-gc-sections' ] 47 51 48 52 49 if MACHINE == 'virt' 53 rd_essential _drv+= [50 rd_essential += [ 54 51 'drv/char/pl011', 55 52 'drv/intctl/gicv2', … … 57 54 ] 58 55 endif 59 60 if MACHINE == 'hikey960'61 rd_essential_drv += [62 'drv/char/pl011',63 'drv/intctl/gicv2',64 'drv/platform/hikey960',65 ]66 endif67 68 rd_drv += rd_essential_drv
Note:
See TracChangeset
for help on using the changeset viewer.