mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
Kernel: Make new kernel build process work on macOS
Use objcopy from the toolchain so that the changes introduced in
7236584
will succeed on macOS.
Fixes #8768.
This commit is contained in:
parent
3b5b7c5e65
commit
e4f05a9046
3 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
tmp=$(mktemp)
|
||||
(cat kernel.map; printf '%b' '\0') > "$tmp"
|
||||
objcopy --update-section .ksyms="$tmp" Kernel
|
||||
OBJCOPY="${OBJCOPY:-objcopy}"
|
||||
"$OBJCOPY" --update-section .ksyms="$tmp" Kernel
|
||||
rm -f "$tmp"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue