-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
51 lines (44 loc) · 1.66 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -----------------------------------------------------------------------------
#
# This file is part of the µOS++ distribution.
# (https://github.com/micro-os-plus/)
# Copyright (c) 2022 Liviu Ionescu
#
# Permission to use, copy, modify, and/or distribute this software
# for any purpose is hereby granted, under the terms of the MIT license.
#
# If a copy of the license was not distributed with this file, it can
# be obtained from https://opensource.org/licenses/MIT/.
#
# -----------------------------------------------------------------------------
# This file is intended to be consumed by applications with:
#
# `subdir('xpacks/micro-os-plus-devices-qemu-riscv')`
#
# The result is a dependency that can be referred as:
#
# `dependencies: [micro_os_plus_devices_qemu_riscv_dependency],`
# Note: the meson configuration is provided only as a proof of concept,
# for production it might need some refinements.
# -----------------------------------------------------------------------------
message('Processing xPack @micro-os-plus/devices-qemu-riscv...')
# https://mesonbuild.com/Reference-manual_functions.html#declare_dependency
micro_os_plus_devices_qemu_riscv_dependency = declare_dependency(
include_directories: include_directories(
'include',
),
sources: files(
'src/reset-entry.S',
),
compile_args: [
'-D' + xpack_device_compile_definition
],
dependencies: [
# micro_os_plus_startup_dependency,
],
)
message('+ -I include')
message('+ src/reset-entry.S')
message('+ -D ' + xpack_device_compile_definition)
message('> micro_os_plus_devices_qemu_riscv_dependency')
# -----------------------------------------------------------------------------