Skip to content

Commit d293a5c

Browse files
author
Francesco Lavra
committed
test
1 parent aee6453 commit d293a5c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Check out repository
1414
uses: actions/checkout@v4
1515
- name: Install tools
16-
run: brew install nasm x86_64-elf-binutils aarch64-elf-binutils
16+
run: brew install nasm llvm x86_64-elf-binutils aarch64-elf-binutils
1717
- name: x86 build
1818
run: make -j`sysctl -n hw.ncpu` kernel PLATFORM=pc
1919
- name: ARM build

platform/pc/boot/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ $(PROG-stage2.elf): linker_script
131131

132132
ifeq ($(UNAME_s),Darwin)
133133
CFLAGS+= -target i386-elf
134+
OBJCOPY= /opt/homebrew/opt/llvm/bin/llvm-objcopy
134135
SIZE_CMD= stat -f %z
135136
else
136137
CFLAGS+= -m32
@@ -163,3 +164,4 @@ $(OBJDIR)/uefi.so: $(OBJS-uefi)
163164

164165
$(OBJDIR)/bootx64.efi: $(OBJDIR)/uefi.so
165166
$(call cmd,uefi_objcopy)
167+
file $<

0 commit comments

Comments
 (0)