diff options
author | tmk <nobody@nowhere> | 2013-11-21 13:01:47 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-11-21 13:01:47 +0900 |
commit | 772ab7025ddf88126d9d6ddb654f62434985504b (patch) | |
tree | f0b4558bba2621a824736ceea0b09b51fdd41613 /protocol.mk | |
parent | 821578293c79c5612f9b77e447295f2947fd6c3d (diff) | |
parent | a9c3f4750b3d703b8bbbc90db2566afd2aab0ec9 (diff) |
Merge branch 'ps2_mouse_fix'
Diffstat (limited to 'protocol.mk')
-rw-r--r-- | protocol.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/protocol.mk b/protocol.mk index 1442c5206b..0d5f06c7ec 100644 --- a/protocol.mk +++ b/protocol.mk @@ -1,2 +1,27 @@ +PROTOCOL_DIR = protocol + + +ifdef PS2_MOUSE_ENABLE + SRC += $(PROTOCOL_DIR)/ps2_mouse.c + OPT_DEFS += -DPS2_MOUSE_ENABLE + OPT_DEFS += -DMOUSE_ENABLE +endif + +ifdef PS2_USE_BUSYWAIT + SRC += protocol/ps2.c + OPT_DEFS += -DPS2_USE_BUSYWAIT +endif + +ifdef PS2_USE_INT + SRC += protocol/ps2.c + OPT_DEFS += -DPS2_USE_INT +endif + +ifdef PS2_USE_USART + SRC += protocol/ps2_usart.c + OPT_DEFS += -DPS2_USE_USART +endif + + # Search Path VPATH += $(TOP_DIR)/protocol |