Renamed riscv -> riscv64 to make meson happy
This commit is contained in:
parent
5ac3bc9aa3
commit
4a9d3a24d5
7 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
cxx = meson.get_compiler('cpp')
|
||||||
|
gcc_dep = cxx.find_library('gcc', required: true)
|
||||||
objcopy = find_program('riscv64-linux-gnu-objcopy')
|
objcopy = find_program('riscv64-linux-gnu-objcopy')
|
||||||
mkimage = find_program('mkimage')
|
mkimage = find_program('mkimage')
|
||||||
|
|
||||||
|
@ -9,6 +11,7 @@ elf = executable(
|
||||||
'kernel.elf',
|
'kernel.elf',
|
||||||
arch_sources,
|
arch_sources,
|
||||||
include_directories: includes,
|
include_directories: includes,
|
||||||
|
dependencies: gcc_dep,
|
||||||
link_args: [
|
link_args: [
|
||||||
'-Wl,-T,' + meson.current_source_dir() + '/platform.ld',
|
'-Wl,-T,' + meson.current_source_dir() + '/platform.ld',
|
||||||
'-static'
|
'-static'
|
|
@ -1,7 +1,11 @@
|
||||||
|
cxx = meson.get_compiler('cpp')
|
||||||
|
gcc_dep = cxx.find_library('gcc', required: true)
|
||||||
|
|
||||||
elf = executable(
|
elf = executable(
|
||||||
'kernel.elf',
|
'kernel.elf',
|
||||||
arch_sources,
|
arch_sources,
|
||||||
include_directories: includes,
|
include_directories: includes,
|
||||||
|
dependencies: gcc_dep,
|
||||||
link_args: [
|
link_args: [
|
||||||
'-Wl,-T,' + meson.current_source_dir() + '/platform.ld',
|
'-Wl,-T,' + meson.current_source_dir() + '/platform.ld',
|
||||||
'-static'
|
'-static'
|
|
@ -4,7 +4,7 @@ cpp = 'riscv64-linux-gnu-g++'
|
||||||
|
|
||||||
[host_machine]
|
[host_machine]
|
||||||
system = 'riscv-qtech-os'
|
system = 'riscv-qtech-os'
|
||||||
cpu_family = 'riscv'
|
cpu_family = 'riscv64'
|
||||||
cpu = 'rv64'
|
cpu = 'rv64'
|
||||||
endian = 'little'
|
endian = 'little'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue