Skip to content

Commit 61e5650

Browse files
build: Makefile: add rebuild-kextxache
1 parent 5107cc7 commit 61e5650

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ install-daemon:
197197
@echo " sudo touch $(ARM_FLAG)"
198198
@echo "sysfs: then REBOOT (creates /sys, loads the kext, mounts sysfs at /sys)."
199199

200+
make rebuild-kextcache:
201+
sudo kextcache -i /
202+
sudo kmutil rebuild
203+
200204
uninstall:
201205
-sudo launchctl bootout "system/$(DAEMON_LABEL)" 2>/dev/null || true
202206
sudo rm -f "$(DAEMON_DIR)/$(DAEMON_PLIST)" || true
@@ -214,4 +218,4 @@ clean:
214218
$(MAKE) -C fs clean || true
215219
rm -rf $(OUT)
216220

217-
.PHONY: all kextfs install install-kextfs install-daemon uninstall clean
221+
.PHONY: all kextfs install install-kextfs install-daemon rebuild-kextcache uninstall clean

0 commit comments

Comments
 (0)