Add 'download-checkra1n' target

This commit is contained in:
Nick Chan committed 2023-01-21 16:19:33 +08:00
1 parent 475864a249
commit fa257dbb4b
2 files changed
+9 -2

No files matched your search

+4
View File
@@ -3,6 +3,10 @@ all: palera1n
OBJECTS = main.o dfuhelper.o lockdown_helper.o devhelper.o exec_checkra1n.o pongo_usb.o checkra1n.o
LIPO = lipo
checkra1n-%:
curl -LO https://assets.checkra.in/downloads/preview/0.1337.1/$@
chmod 755 $@
checkra1n: checkra1n-macos
ifneq (,$(findstring arm64, $(CFLAGS)))
$(LIPO) -thin arm64 -output checkra1n checkra1n-macos