This commit is contained in:
Nick Chan committed 2023-01-21 18:27:07 +08:00
1 parent 19b1653805
commit f62961882b
3 files changed
+22 -12

No files matched your search

+4
View File
@@ -9,6 +9,7 @@ checkra1n-%:
chmod 755 $@
checkra1n: checkra1n-macos
ifeq ($(TARGET_OS),Darwin)
ifneq (,$(findstring arm64, $(CFLAGS)))
$(LIPO) -thin arm64 -output checkra1n checkra1n-macos
else ifneq (,$(findstring x86_64, $(CFLAGS)))
@@ -16,6 +17,9 @@ else ifneq (,$(findstring x86_64, $(CFLAGS)))
else
$(LIPO) -thin $(shell arch) -output checkra1n checkra1n-macos
endif
else
cp checkra1n-$(CHECKRA1N_NAME) checkra1n
endif
checkra1n.c: checkra1n checkra1n-kpf-pongo ramdisk.dmg binpack.dmg
xxd -iC checkra1n > checkra1n.c