Ignore:
File:
1 edited

Legend:

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

    ra73a1453 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' ]
    3237arch_uspace_link_args = [ '-nostdlib', '-lgcc' ]
    33 
    3438
    3539# UEFI binaries should be relocatable, the EFI boot service LoadImage() will
     
    4347# processor is in the execution mode that has unaligned access enabled. The
    4448# -mstrict-align option is therefore not needed.
    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 
     49arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden' ]
     50arch_boot_link_args = [ '-Wl,-shared' ] + ldflags_ignore_rwx_segments
    4851
    4952if MACHINE == 'virt'
    50         rd_essential += [
     53        rd_essential_drv += [
    5154                'drv/char/pl011',
    5255                'drv/intctl/gicv2',
     
    5457        ]
    5558endif
     59
     60if MACHINE == 'hikey960'
     61        rd_essential_drv += [
     62                'drv/char/pl011',
     63                'drv/intctl/gicv2',
     64                'drv/platform/hikey960',
     65        ]
     66endif
     67
     68rd_drv += rd_essential_drv
Note: See TracChangeset for help on using the changeset viewer.