Added NOHOOK option to the makefile, NOHOOK=y compiles without the keyboard hook.

This commit is contained in:
OBattler
2020-07-16 01:22:13 +02:00
parent c7f4aabbf0
commit f1f99aba89
2 changed files with 22 additions and 0 deletions

View File

@@ -384,6 +384,10 @@ ifeq ($(VRAMDUMP), y)
OPTS += -DENABLE_VRAM_DUMP
RFLAGS += -DENABLE_VRAM_DUMP
endif
ifeq ($(NOHOOK), y)
OPTS += -DNO_KEYBOARD_HOOK
RFLAGS += -DNO_KEYBOARD_HOOK
endif
# Optional modules.