代码拉取完成,页面将自动刷新
同步操作将从 openEuler/native-turbo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# SPDX-License-Identifier: MulanPSL-2.0
project('DFE', 'C',
version: run_command(find_program('cat', 'more'), files('VERSION'), check: true).stdout().strip(),
license: 'MulanPSL',
default_options: [
'buildtype=release',
'default_library=static',
'warning_level=2',
],
meson_version: '>= 0.49.2'
)
# set up some global vars for compiler, platform, configuration, etc.
cc = meson.get_compiler('c')
si_source_root = meson.current_source_dir()
si_build_root = meson.current_build_dir()
si_static_libraries = []
abi_version_file = files('ABI_VERSION')
if host_machine.cpu_family().startswith('x86')
arch_subdir = 'x86'
elif host_machine.cpu_family().startswith('arm') or host_machine.cpu_family().startswith('aarch')
arch_subdir = 'arm'
elif host_machine.cpu_family().startswith('riscv')
arch_subdir = 'riscv'
endif
machine_args = ['-Wall', '-Werror', '-Wextra', '-Wformat', '-D_GNU_SOURCE',
'-fno-jump-tables', '-Wl,-z,relro,-z,now', '-Bsymbolic', '-zcommon-page-size=2097152', '-zmax-page-size=2097152']
lk_args = ['-Wl,--emit-relocs', '-Wl,-z,relro,-z,now']
global_inc = include_directories('.',
'lib/sys/include',
#'lib/sys/@0@/include'.format(host_machine.system()),
#'lib/sys/@0@/include'.format(arch_subdir),
)
# build libs
subdir('lib')
subdir('tests')
# final output, list all the libs and drivers to be built
# this does not affect any part of the build, for information only.
output_message = '\n=================\nLibraries Enabled\n=================\n'
output_message += '\nlibs:\n\t'
output_count = 0
foreach lib:enabled_libs
output_message += lib + ', '
output_count += 1
if output_count == 8
output_message += '\n\t'
output_count = 0
endif
endforeach
message(output_message + '\n')
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。