Skip to content

Commit b8c68af

Browse files
authored
[Keyboard] Helix use post_rules.mk (#14216)
* Helix/pico use post_rules.mk insted of local_features.mk Tested with the following procedure. ``` git checkout 77a93fe (qmk/develop) make clean make helix/pico:all:check-md5 make helix/pico/sc:all:check-md5 git checkout helix_use_post_rules.mk make clean make helix/pico:all:check-md5 make helix/pico/sc:all:check-md5 ``` * Helix/rev2 use post_rules.mk Tested with the following procedure. ``` git checkout 77a93fe (qmk/develop) make clean make helix/pico:all:check-md5 make helix/pico/sc:all:check-md5 make helix/rev2:all:check-md5 make helix/rev2/sc:all:check-md5 git checkout helix_use_post_rules.mk make clean make helix/pico:all:check-md5 make helix/pico/sc:all:check-md5 make helix/rev2:all:check-md5 make helix/rev2/sc:all:check-md5 ```
1 parent bab997c commit b8c68af

File tree

14 files changed

+4
-49
lines changed

14 files changed

+4
-49
lines changed

keyboards/helix/pico/keymaps/biacco/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ LTO_ENABLE = no # if firmware size over limit, try this option
1818
# LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
1919
LED_ANIMATIONS = no # LED animations
2020
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
21-
22-
# convert Helix-specific options (that represent combinations of standard options)
23-
# into QMK standard options.
24-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/pico/keymaps/default/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ LTO_ENABLE = no # if firmware size over limit, try this option
1818
# LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
1919
# LED_ANIMATIONS = yes # LED animations
2020
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
21-
22-
# convert Helix-specific options (that represent combinations of standard options)
23-
# into QMK standard options.
24-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/pico/keymaps/mtei/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ LTO_ENABLE = no # if firmware size over limit, try this option
1818
# LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
1919
# LED_ANIMATIONS = yes # LED animations
2020
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
21-
22-
# convert Helix-specific options (that represent combinations of standard options)
23-
# into QMK standard options.
24-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/pico/local_features.mk renamed to keyboards/helix/pico/post_rules.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
#
2-
# local_features.mk contains post-processing rules for the Helix keyboard.
2+
# post_rules.mk contains post-processing rules for the Helix keyboard.
33
#
44
# Post-processing rules convert keyboard-specific shortcuts (that represent
55
# combinations of standard options) into QMK standard options.
66
#
77

8-
KEYBOARD_LOCAL_FEATURES_MK :=
9-
108
define HELIX_CUSTOMISE_MSG
119
$(info Helix Spacific Build Options)
1210
$(info - OLED_ENABLE = $(OLED_ENABLE))

keyboards/helix/pico/rules.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
KEYBOARD_LOCAL_FEATURES_MK := $(dir $(lastword $(MAKEFILE_LIST)))local_features.mk
2-
31
# Helix Spacific Build Options default values
42
OLED_ENABLE = no # OLED_ENABLE
53
LOCAL_GLCDFONT = no # use each keymaps "helixfont.h" insted of "common/glcdfont.c"

keyboards/helix/rev2/keymaps/default/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,3 @@ OLED_SELECT = core
2929
ifeq ($(strip $(OLED_ENABLE)), yes)
3030
SRC += oled_display.c
3131
endif
32-
33-
# convert Helix-specific options (that represent combinations of standard options)
34-
# into QMK standard options.
35-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/rev2/keymaps/five_rows/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,3 @@ endif
9595
ifeq ($(strip $(OLED_ENABLE)), yes)
9696
SRC += oled_display.c
9797
endif
98-
99-
# convert Helix-specific options (that represent combinations of standard options)
100-
# into QMK standard options.
101-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ HELIX_ROWS = 5 # Helix Rows is 4 or 5
1717
# LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
1818
# LED_ANIMATIONS = yes # LED animations
1919
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
20-
21-
# convert Helix-specific options (that represent combinations of standard options)
22-
# into QMK standard options.
23-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/rev2/keymaps/fraanrosi/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,3 @@ LED_ANIMATIONS = yes # LED animations
2222

2323
LED_BACK_ENABLE = no
2424
LED_UNDERGLOW_ENABLE = yes
25-
26-
# convert Helix-specific options (that represent combinations of standard options)
27-
# into QMK standard options.
28-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/rev2/keymaps/froggy/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ LED_BACK_ENABLE = yes # LED backlight (Enable WS2812 RGB underlight.)
1717
LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
1818
LED_ANIMATIONS = yes # LED animations
1919
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
20-
21-
# convert Helix-specific options (that represent combinations of standard options)
22-
# into QMK standard options.
23-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/rev2/keymaps/froggy_106/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ LED_BACK_ENABLE = yes # LED backlight (Enable WS2812 RGB underlight.)
1717
LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
1818
LED_ANIMATIONS = yes # LED animations
1919
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
20-
21-
# convert Helix-specific options (that represent combinations of standard options)
22-
# into QMK standard options.
23-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/rev2/keymaps/led_test/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,3 @@ ifeq ($(strip $(OLED_ENABLE)), yes)
2323
SRC += oled_display.c
2424
endif
2525
SRC += led_test_init.c
26-
27-
# convert Helix-specific options (that represent combinations of standard options)
28-
# into QMK standard options.
29-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/rev2/keymaps/yshrsmz/rules.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ OLED_ENABLE = yes # OLED_ENABLE
1717
# LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
1818
LED_ANIMATIONS = no # LED animations
1919
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
20-
21-
# convert Helix-specific options (that represent combinations of standard options)
22-
# into QMK standard options.
23-
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

keyboards/helix/rev2/post_rules.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ifneq ($(strip $(KEYBOARD_LOCAL_FEATURES_MK)),)
2+
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))
3+
endif

0 commit comments

Comments
 (0)