misc: Created the base Meson build system for the project

This commit is contained in:
dragonmux
2023-11-29 00:08:33 +00:00
committed by Piotr Esden-Tempski
parent 70e890a8d8
commit c34e4582f2
3 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
[constants]
# Allow easy overridding of the default path and prefix
gcc_path = ''
gcc_prefix = 'arm-none-eabi-'
gcc_base = gcc_path / gcc_prefix
[binaries]
c = gcc_base + 'gcc'
ld = gcc_base + 'gcc'
ar = gcc_base + 'ar'
nm = gcc_base + 'nm'
strip = gcc_base + 'strip'
objcopy = gcc_base + 'objcopy'
objdump = gcc_base + 'objdump'
size = gcc_base + 'size'
[host_machine]
system = 'bare-metal'
cpu_family = 'arm'
cpu = 'arm'
endian = 'little'