diff options
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r-- | build_keyboard.mk | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index e5edacfd8..c1f4f9338 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk | |||
@@ -32,20 +32,6 @@ endif | |||
32 | # this an empty or blank macro! | 32 | # this an empty or blank macro! |
33 | KEYMAP_OUTPUT := $(BUILD_DIR)/obj_$(TARGET) | 33 | KEYMAP_OUTPUT := $(BUILD_DIR)/obj_$(TARGET) |
34 | 34 | ||
35 | # For split boards we need to set a master half. | ||
36 | MASTER ?= left | ||
37 | ifdef master | ||
38 | MASTER = $(master) | ||
39 | endif | ||
40 | |||
41 | ifeq ($(MASTER),right) | ||
42 | OPT_DEFS += -DMASTER_IS_ON_RIGHT | ||
43 | else | ||
44 | ifneq ($(MASTER),left) | ||
45 | $(error MASTER does not have a valid value(left/right)) | ||
46 | endif | ||
47 | endif | ||
48 | |||
49 | ifdef SKIP_VERSION | 35 | ifdef SKIP_VERSION |
50 | OPT_DEFS += -DSKIP_VERSION | 36 | OPT_DEFS += -DSKIP_VERSION |
51 | endif | 37 | endif |