~ruther/qmk_firmware

b8c68afb2f46fba3bae2a0cb6fdef867f95353a8 — Takeshi ISHII 4 years ago bab997c
[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 77a93fec79 (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 77a93fec79 (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
```
M keyboards/helix/pico/keymaps/biacco/rules.mk => keyboards/helix/pico/keymaps/biacco/rules.mk +0 -4
@@ 18,7 18,3 @@ LTO_ENABLE = no  # if firmware size over limit, try this option
# LED_UNDERGLOW_ENABLE = no   # LED underglow (Enable WS2812 RGB underlight.)
LED_ANIMATIONS = no           # LED animations
# IOS_DEVICE_ENABLE = no      # connect to IOS device (iPad,iPhone)

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/pico/keymaps/default/rules.mk => keyboards/helix/pico/keymaps/default/rules.mk +0 -4
@@ 18,7 18,3 @@ LTO_ENABLE = no  # if firmware size over limit, try this option
# LED_UNDERGLOW_ENABLE = no   # LED underglow (Enable WS2812 RGB underlight.)
# LED_ANIMATIONS = yes        # LED animations
# IOS_DEVICE_ENABLE = no      # connect to IOS device (iPad,iPhone)

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/pico/keymaps/mtei/rules.mk => keyboards/helix/pico/keymaps/mtei/rules.mk +0 -4
@@ 18,7 18,3 @@ LTO_ENABLE = no  # if firmware size over limit, try this option
# LED_UNDERGLOW_ENABLE = no   # LED underglow (Enable WS2812 RGB underlight.)
# LED_ANIMATIONS = yes        # LED animations
# IOS_DEVICE_ENABLE = no      # connect to IOS device (iPad,iPhone)

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

R keyboards/helix/pico/local_features.mk => keyboards/helix/pico/post_rules.mk +1 -3
@@ 1,12 1,10 @@
#
#  local_features.mk contains post-processing rules for the Helix keyboard.
#  post_rules.mk contains post-processing rules for the Helix keyboard.
#
#   Post-processing rules convert keyboard-specific shortcuts (that represent
#   combinations of standard options) into QMK standard options.
#

KEYBOARD_LOCAL_FEATURES_MK :=

define HELIX_CUSTOMISE_MSG
  $(info Helix Spacific Build Options)
  $(info -  OLED_ENABLE          = $(OLED_ENABLE))

M keyboards/helix/pico/rules.mk => keyboards/helix/pico/rules.mk +0 -2
@@ 1,5 1,3 @@
KEYBOARD_LOCAL_FEATURES_MK := $(dir $(lastword $(MAKEFILE_LIST)))local_features.mk

# Helix Spacific Build Options default values
OLED_ENABLE = no            # OLED_ENABLE
LOCAL_GLCDFONT = no         # use each keymaps "helixfont.h" insted of "common/glcdfont.c"

M keyboards/helix/rev2/keymaps/default/rules.mk => keyboards/helix/rev2/keymaps/default/rules.mk +0 -4
@@ 29,7 29,3 @@ OLED_SELECT = core
ifeq ($(strip $(OLED_ENABLE)), yes)
    SRC += oled_display.c
endif

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/rev2/keymaps/five_rows/rules.mk => keyboards/helix/rev2/keymaps/five_rows/rules.mk +0 -4
@@ 95,7 95,3 @@ endif
ifeq ($(strip $(OLED_ENABLE)), yes)
    SRC += oled_display.c
endif

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk => keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk +0 -4
@@ 17,7 17,3 @@ HELIX_ROWS = 5              # Helix Rows is 4 or 5
# LED_UNDERGLOW_ENABLE = no   # LED underglow (Enable WS2812 RGB underlight.)
# LED_ANIMATIONS = yes        # LED animations
# IOS_DEVICE_ENABLE = no      # connect to IOS device (iPad,iPhone)

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/rev2/keymaps/fraanrosi/rules.mk => keyboards/helix/rev2/keymaps/fraanrosi/rules.mk +0 -4
@@ 22,7 22,3 @@ LED_ANIMATIONS = yes        # LED animations

LED_BACK_ENABLE = no
LED_UNDERGLOW_ENABLE = yes

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/rev2/keymaps/froggy/rules.mk => keyboards/helix/rev2/keymaps/froggy/rules.mk +0 -4
@@ 17,7 17,3 @@ LED_BACK_ENABLE = yes       # LED backlight (Enable WS2812 RGB underlight.)
LED_UNDERGLOW_ENABLE = no   # LED underglow (Enable WS2812 RGB underlight.)
LED_ANIMATIONS = yes        # LED animations
# IOS_DEVICE_ENABLE = no      # connect to IOS device (iPad,iPhone)

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/rev2/keymaps/froggy_106/rules.mk => keyboards/helix/rev2/keymaps/froggy_106/rules.mk +0 -4
@@ 17,7 17,3 @@ LED_BACK_ENABLE = yes       # LED backlight (Enable WS2812 RGB underlight.)
LED_UNDERGLOW_ENABLE = no   # LED underglow (Enable WS2812 RGB underlight.)
LED_ANIMATIONS = yes        # LED animations
# IOS_DEVICE_ENABLE = no      # connect to IOS device (iPad,iPhone)

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/rev2/keymaps/led_test/rules.mk => keyboards/helix/rev2/keymaps/led_test/rules.mk +0 -4
@@ 23,7 23,3 @@ ifeq ($(strip $(OLED_ENABLE)), yes)
    SRC += oled_display.c
endif
SRC += led_test_init.c

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

M keyboards/helix/rev2/keymaps/yshrsmz/rules.mk => keyboards/helix/rev2/keymaps/yshrsmz/rules.mk +0 -4
@@ 17,7 17,3 @@ OLED_ENABLE = yes            # OLED_ENABLE
# LED_UNDERGLOW_ENABLE = no   # LED underglow (Enable WS2812 RGB underlight.)
LED_ANIMATIONS = no        # LED animations
# IOS_DEVICE_ENABLE = no      # connect to IOS device (iPad,iPhone)

# convert Helix-specific options (that represent combinations of standard options)
#   into QMK standard options.
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))

A keyboards/helix/rev2/post_rules.mk => keyboards/helix/rev2/post_rules.mk +3 -0
@@ 0,0 1,3 @@
ifneq ($(strip $(KEYBOARD_LOCAL_FEATURES_MK)),)
  include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))
endif