From 31fcb59c8070bc88a0058aefab95066f2daf362f Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Mon, 25 Oct 2021 12:03:31 +0200 Subject: [PATCH] Makefile: extract DriverKit dyld cache --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5df4dc7..5a08eae 100644 --- a/Makefile +++ b/Makefile @@ -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))