From 2165913cefc4b2515599cc16c68c992a937d9d3d Mon Sep 17 00:00:00 2001 From: Adam Madsen Date: Tue, 10 Nov 2020 00:11:26 -0600 Subject: [PATCH] Add option to install hook via `make load HOOK=1` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a41d6fa..cf70b9d 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,6 @@ clean: load: all grep -q '^vendor_reset' /proc/modules && sudo rmmod vendor_reset || true - sudo insmod ./vendor-reset.ko + sudo insmod ./vendor-reset.ko $(if $(HOOK),install_hook=yes,) .PHONY: userspace load