We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aee6453 commit d293a5cCopy full SHA for d293a5c
2 files changed
.github/workflows/main.yml
@@ -13,7 +13,7 @@ jobs:
13
- name: Check out repository
14
uses: actions/checkout@v4
15
- name: Install tools
16
- run: brew install nasm x86_64-elf-binutils aarch64-elf-binutils
+ run: brew install nasm llvm x86_64-elf-binutils aarch64-elf-binutils
17
- name: x86 build
18
run: make -j`sysctl -n hw.ncpu` kernel PLATFORM=pc
19
- name: ARM build
platform/pc/boot/Makefile
@@ -131,6 +131,7 @@ $(PROG-stage2.elf): linker_script
131
132
ifeq ($(UNAME_s),Darwin)
133
CFLAGS+= -target i386-elf
134
+OBJCOPY= /opt/homebrew/opt/llvm/bin/llvm-objcopy
135
SIZE_CMD= stat -f %z
136
else
137
CFLAGS+= -m32
@@ -163,3 +164,4 @@ $(OBJDIR)/uefi.so: $(OBJS-uefi)
163
164
165
$(OBJDIR)/bootx64.efi: $(OBJDIR)/uefi.so
166
$(call cmd,uefi_objcopy)
167
+ file $<
0 commit comments