diff options
| author | tmk <nobody@nowhere> | 2014-06-19 16:13:35 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2014-07-30 14:07:43 +0900 |
| commit | 4c8e0fd0bd1712421f957ec5e0ca16fc6bbb3856 (patch) | |
| tree | 2141d2e168ad043ea18bcb3aee3f3a03dd2a2f1b /tool/mbed | |
| parent | 80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3 (diff) | |
| download | qmk_firmware-4c8e0fd0bd1712421f957ec5e0ca16fc6bbb3856.tar.gz qmk_firmware-4c8e0fd0bd1712421f957ec5e0ca16fc6bbb3856.zip | |
Port ps2_usb to mbed
Diffstat (limited to 'tool/mbed')
| -rw-r--r-- | tool/mbed/common.mk | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tool/mbed/common.mk b/tool/mbed/common.mk index 1bd7d6edb..93a927a3e 100644 --- a/tool/mbed/common.mk +++ b/tool/mbed/common.mk | |||
| @@ -1,21 +1,21 @@ | |||
| 1 | COMMON_DIR = common | ||
| 2 | OBJECTS += \ | 1 | OBJECTS += \ |
| 3 | $(OBJDIR)/$(COMMON_DIR)/action.o \ | 2 | $(OBJDIR)/common/action.o \ |
| 4 | $(OBJDIR)/$(COMMON_DIR)/action_tapping.o \ | 3 | $(OBJDIR)/common/action_tapping.o \ |
| 5 | $(OBJDIR)/$(COMMON_DIR)/action_macro.o \ | 4 | $(OBJDIR)/common/action_macro.o \ |
| 6 | $(OBJDIR)/$(COMMON_DIR)/action_layer.o \ | 5 | $(OBJDIR)/common/action_layer.o \ |
| 7 | $(OBJDIR)/$(COMMON_DIR)/action_util.o \ | 6 | $(OBJDIR)/common/action_util.o \ |
| 8 | $(OBJDIR)/$(COMMON_DIR)/host.o \ | 7 | $(OBJDIR)/common/host.o \ |
| 9 | $(OBJDIR)/$(COMMON_DIR)/keymap.o \ | 8 | $(OBJDIR)/common/keymap.o \ |
| 10 | $(OBJDIR)/$(COMMON_DIR)/keyboard.o \ | 9 | $(OBJDIR)/common/keyboard.o \ |
| 11 | $(OBJDIR)/$(COMMON_DIR)/util.o \ | 10 | $(OBJDIR)/common/util.o \ |
| 12 | $(OBJDIR)/$(COMMON_DIR)/mbed/suspend.o \ | 11 | $(OBJDIR)/common/mbed/suspend.o \ |
| 13 | $(OBJDIR)/$(COMMON_DIR)/mbed/timer.o \ | 12 | $(OBJDIR)/common/mbed/timer.o \ |
| 14 | $(OBJDIR)/$(COMMON_DIR)/mbed/xprintf.o \ | 13 | $(OBJDIR)/common/mbed/xprintf.o \ |
| 15 | $(OBJDIR)/$(COMMON_DIR)/mbed/bootloader.o \ | 14 | $(OBJDIR)/common/mbed/bootloader.o \ |
| 16 | 15 | ||
| 17 | INCLUDE_PATHS += \ | 16 | INCLUDE_PATHS += \ |
| 18 | -I$(TMK_DIR)/$(COMMON_DIR) | 17 | -I$(TMK_DIR)/common \ |
| 18 | -I$(TMK_DIR)/protocol | ||
| 19 | 19 | ||
| 20 | CC_FLAGS += -include $(CONFIG_H) | 20 | CC_FLAGS += -include $(CONFIG_H) |
| 21 | 21 | ||
| @@ -24,13 +24,13 @@ CC_FLAGS += -include $(CONFIG_H) | |||
| 24 | # Option modules | 24 | # Option modules |
| 25 | ifdef BOOTMAGIC_ENABLE | 25 | ifdef BOOTMAGIC_ENABLE |
| 26 | $(error Not Supported) | 26 | $(error Not Supported) |
| 27 | OBJECTS += $(OBJDIR)/$(COMMON_DIR)/bootmagic.o | 27 | OBJECTS += $(OBJDIR)/common/bootmagic.o |
| 28 | OBJECTS += $(OBJDIR)/$(COMMON_DIR)/mbed/eeprom.o | 28 | OBJECTS += $(OBJDIR)/common/mbed/eeprom.o |
| 29 | OPT_DEFS += -DBOOTMAGIC_ENABLE | 29 | OPT_DEFS += -DBOOTMAGIC_ENABLE |
| 30 | endif | 30 | endif |
| 31 | 31 | ||
| 32 | ifdef MOUSEKEY_ENABLE | 32 | ifdef MOUSEKEY_ENABLE |
| 33 | OBJECTS += $(OBJDIR)/$(COMMON_DIR)/mousekey.o | 33 | OBJECTS += $(OBJDIR)/common/mousekey.o |
| 34 | OPT_DEFS += -DMOUSEKEY_ENABLE | 34 | OPT_DEFS += -DMOUSEKEY_ENABLE |
| 35 | OPT_DEFS += -DMOUSE_ENABLE | 35 | OPT_DEFS += -DMOUSE_ENABLE |
| 36 | endif | 36 | endif |
| @@ -50,7 +50,7 @@ endif | |||
| 50 | 50 | ||
| 51 | ifdef COMMAND_ENABLE | 51 | ifdef COMMAND_ENABLE |
| 52 | $(error Not Supported) | 52 | $(error Not Supported) |
| 53 | SRC += $(COMMON_DIR)/command.c | 53 | SRC += common/command.c |
| 54 | OPT_DEFS += -DCOMMAND_ENABLE | 54 | OPT_DEFS += -DCOMMAND_ENABLE |
| 55 | endif | 55 | endif |
| 56 | 56 | ||
| @@ -61,14 +61,14 @@ endif | |||
| 61 | 61 | ||
| 62 | ifdef SLEEP_LED_ENABLE | 62 | ifdef SLEEP_LED_ENABLE |
| 63 | $(error Not Supported) | 63 | $(error Not Supported) |
| 64 | SRC += $(COMMON_DIR)/sleep_led.c | 64 | SRC += common/sleep_led.c |
| 65 | OPT_DEFS += -DSLEEP_LED_ENABLE | 65 | OPT_DEFS += -DSLEEP_LED_ENABLE |
| 66 | OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | 66 | OPT_DEFS += -DNO_SUSPEND_POWER_DOWN |
| 67 | endif | 67 | endif |
| 68 | 68 | ||
| 69 | ifdef BACKLIGHT_ENABLE | 69 | ifdef BACKLIGHT_ENABLE |
| 70 | $(error Not Supported) | 70 | $(error Not Supported) |
| 71 | SRC += $(COMMON_DIR)/backlight.c | 71 | SRC += common/backlight.c |
| 72 | OPT_DEFS += -DBACKLIGHT_ENABLE | 72 | OPT_DEFS += -DBACKLIGHT_ENABLE |
| 73 | endif | 73 | endif |
| 74 | 74 | ||
