Ignore:
File:
1 edited

Legend:

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

    rc89ae25 ra73a1453  
    11#
    2 # Copyright (c) 2021 Jiri Svoboda
    32# Copyright (c) 2015 Petr Pavlu
    43# All rights reserved.
     
    2827#
    2928
    30 arch_uspace_c_args = [
    31         '-D__LE__',
    32         '-fno-omit-frame-pointer',
    33         cc.get_supported_arguments(['-mno-outline-atomics']),
    34 ]
     29arch_uspace_c_args = [ '-D__LE__', '-fno-omit-frame-pointer' ]
    3530arch_kernel_c_args = arch_uspace_c_args + [ '-march=armv8-a+nofp+nosimd', '-mgeneral-regs-only' ]
    3631arch_kernel_link_args = [ '-nostdlib' ]
    3732arch_uspace_link_args = [ '-nostdlib', '-lgcc' ]
     33
    3834
    3935# UEFI binaries should be relocatable, the EFI boot service LoadImage() will
     
    4743# processor is in the execution mode that has unaligned access enabled. The
    4844# -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
     45arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden', '-fno-function-sections' ]
     46arch_boot_link_args = [ '-Wl,-shared', '-Wl,--no-gc-sections' ]
     47
    5148
    5249if MACHINE == 'virt'
    53         rd_essential_drv += [
     50        rd_essential += [
    5451                'drv/char/pl011',
    5552                'drv/intctl/gicv2',
     
    5754        ]
    5855endif
    59 
    60 if MACHINE == 'hikey960'
    61         rd_essential_drv += [
    62                 'drv/char/pl011',
    63                 'drv/intctl/gicv2',
    64                 'drv/platform/hikey960',
    65         ]
    66 endif
    67 
    68 rd_drv += rd_essential_drv
Note: See TracChangeset for help on using the changeset viewer.