Makefile: extract DriverKit dyld cache

This commit is contained in:
Michael Roitzsch
2021-10-25 12:03:31 +02:00
parent 2deea7c208
commit 31fcb59c80

View File

@@ -54,8 +54,8 @@ ACEXTRACT = $(shell nix build --no-write-lock-file .\#acextract && \
DSCEXTRACTOR = $(shell nix build --no-write-lock-file .\#dsc-extractor && \
readlink result && rm result)/bin/dyld-shared-cache-extractor
dyld: /System/Library/dyld/dyld_shared_cache_$(shell uname -m)
$(DSCEXTRACTOR) $< $@ > /dev/null
dyld: /System/Library/dyld/dyld_shared_cache_$(shell uname -m) /System/DriverKit/System/Library/dyld/dyld_shared_cache_$(shell uname -m)
for i in $+ ; do $(DSCEXTRACTOR) $$i $@ ; done > /dev/null
find $@ -type f -print0 | xargs -0 chmod a+x
XCODE = $(lastword $(wildcard /Applications/Xcode.app /Applications/Xcode-beta.app))