Skip to content

Commit

Permalink
meson: use ld.bfd for kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jun 13, 2024
1 parent 2b8b5da commit 3b3be67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fdpp/kernel/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ lib = static_library('dummy',
include_directories: incdir2,
nasm_args: nargs,
build_by_default: false)
nasm_ld = find_program(['i686-linux-gnu-ld', 'i386-elf-ld', 'x86_64-linux-gnu-ld', 'ld'])
nasm_ld = find_program(['i686-linux-gnu-ld', 'i386-elf-ld', 'x86_64-linux-gnu-ld', 'ld.bfd'])
custom_target(TARGET + '.elf',
output: [TARGET + '.elf', TARGET + '.map'],
input: lib.extract_all_objects(recursive: true),
Expand Down
1 change: 1 addition & 0 deletions fdpp/kernel/toolchain.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[binaries]
nasm = 'nasm-segelf'
c = 'clang'
c_ld = 'bfd'
cpp = 'clang++'
strip = 'llvm-strip'
pkg-config = 'pkg-config'
Expand Down

0 comments on commit 3b3be67

Please sign in to comment.