Quantum
b35d58df1f
Split code into generic, arch, and platform Made QEMU its own platform Added shitty uart upload script for lichee board until I can get fel to actually upload uboot payloads without hanging TODO: Move platform selection out of build script TODO: Move arch specific stuff from kernel to arch TODO: Common linker script for arch instead of having a copy in each platform
18 lines
382 B
Meson
18 lines
382 B
Meson
project('riscv-qtech-os', ['c', 'cpp'],
|
|
default_options: [
|
|
'cpp_std=gnu++20',
|
|
'c_std=gnu11',
|
|
'c_flags=-Wall -Werror -Wextra',
|
|
'cpp_flags=-Wall -Werror -Wextra'
|
|
]
|
|
)
|
|
|
|
if not meson.is_cross_build()
|
|
error('Kernel must be cross compiled')
|
|
endif
|
|
|
|
arch = host_machine.cpu_family()
|
|
platform = 'allwinner-d1'
|
|
# platform = 'qemu'
|
|
|
|
subdir('kernel')
|