mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-24 13:22:59 +01:00
e
This commit is contained in:
1 parent
78dd619293
commit
6dc841f956
109 files changed
+18192
-1907
No files matched your search
@@ -1,6 +1,7 @@
|
||||
CC ?= gcc
|
||||
BOB64_CC ?= x86_64-w64-mingw32-gcc
|
||||
CFLAGS ?= -std=gnu11 -O2 -Wall -Wextra -Werror
|
||||
.PHONY: all c-os test
|
||||
.PHONY: all c-os test bob64 bob64-test bob64-handoff bob64-handoff-test bob64cc bob64-app-test
|
||||
|
||||
all:
|
||||
$(CC) $(CFLAGS) tools/build.c -o build-tool
|
||||
@@ -11,3 +12,27 @@ c-os: all
|
||||
|
||||
test: all
|
||||
./build-tool --test
|
||||
|
||||
# x86-64 UEFI build, isolated from the bob16/bob32 emulator targets.
|
||||
bob64:
|
||||
$(CC) $(CFLAGS) tools/build.c -o build-tool
|
||||
BOB64_CC="$(BOB64_CC)" ./build-tool --bob64
|
||||
|
||||
bob64-test: bob64
|
||||
BOB64_CC="$(BOB64_CC)" ./build-tool --bob64-test
|
||||
|
||||
# Opt-in destructive-to-firmware-services kernel handoff build.
|
||||
bob64-handoff:
|
||||
$(CC) $(CFLAGS) tools/build.c -o build-tool
|
||||
BOB64_CC="$(BOB64_CC)" ./build-tool --bob64-handoff
|
||||
|
||||
bob64-handoff-test:
|
||||
$(CC) $(CFLAGS) tools/build.c -o build-tool
|
||||
BOB64_CC="$(BOB64_CC)" ./build-tool --bob64-handoff-test
|
||||
|
||||
bob64cc:
|
||||
$(CC) $(CFLAGS) tools/bob64cc.c -o bob64cc
|
||||
|
||||
bob64-app-test: bob64-test bob64cc
|
||||
BOB64_CC="$(BOB64_CC)" ./bob64cc apps/bob64_smoke.c build/bob64-app/smoke.b64e
|
||||
./build/test_bob64 build/bob64/EFI/BOOT/BOOTX64.EFI build/bob64-app/smoke.b64e
|
||||
Reference in new issue
Block a user