Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • meson/arch/arm64/meson.build

    r06f10ac rc89ae25  
    11#
     2# Copyright (c) 2021 Jiri Svoboda
    23# Copyright (c) 2015 Petr Pavlu
    34# All rights reserved.
     
    2728#
    2829
    29 arch_uspace_c_args = [ '-D__LE__', '-fno-omit-frame-pointer' ]
     30arch_uspace_c_args = [
     31        '-D__LE__',
     32        '-fno-omit-frame-pointer',
     33        cc.get_supported_arguments(['-mno-outline-atomics']),
     34]
    3035arch_kernel_c_args = arch_uspace_c_args + [ '-march=armv8-a+nofp+nosimd', '-mgeneral-regs-only' ]
    3136arch_kernel_link_args = [ '-nostdlib' ]
     
    4247# processor is in the execution mode that has unaligned access enabled. The
    4348# -mstrict-align option is therefore not needed.
    44 arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden', '-fno-function-sections' ]
    45 arch_boot_link_args = [ '-Wl,-shared', '-Wl,--no-gc-sections' ]
     49arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden' ]
     50arch_boot_link_args = [ '-Wl,-shared' ] + ldflags_ignore_rwx_segments
    4651
    4752if MACHINE == 'virt'
    48         rd_essential += [
     53        rd_essential_drv += [
    4954                'drv/char/pl011',
    5055                'drv/intctl/gicv2',
     
    5459
    5560if MACHINE == 'hikey960'
    56         rd_essential += [
     61        rd_essential_drv += [
    5762                'drv/char/pl011',
    5863                'drv/intctl/gicv2',
     
    6065        ]
    6166endif
     67
     68rd_drv += rd_essential_drv
Note: See TracChangeset for help on using the changeset viewer.