From c088fef86af173e4feb7acbf1f4fa5032ee4d895 Mon Sep 17 00:00:00 2001 From: Zach White Date: Sun, 29 Aug 2021 08:53:28 -0700 Subject: [PATCH] Revert "handwired/symmetric70_proto: move non-assignment code to post_rules.mk" This reverts commit cffaf0075c3c9b2473a660ba4af8835a9162311b. --- .../symmetric70_proto/{post_rules.mk => local_features.mk} | 0 keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk | 3 +++ keyboards/handwired/symmetric70_proto/promicro/normal/rules.mk | 3 +++ keyboards/handwired/symmetric70_proto/promicro/readme.md | 2 +- keyboards/handwired/symmetric70_proto/proton_c/fast/rules.mk | 3 +++ keyboards/handwired/symmetric70_proto/proton_c/normal/rules.mk | 3 +++ keyboards/handwired/symmetric70_proto/proton_c/readme.md | 2 +- 7 files changed, 14 insertions(+), 2 deletions(-) rename keyboards/handwired/symmetric70_proto/{post_rules.mk => local_features.mk} (100%) diff --git a/keyboards/handwired/symmetric70_proto/post_rules.mk b/keyboards/handwired/symmetric70_proto/local_features.mk similarity index 100% rename from keyboards/handwired/symmetric70_proto/post_rules.mk rename to keyboards/handwired/symmetric70_proto/local_features.mk diff --git a/keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk b/keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk index fbc1c3bb388..de489fcabda 100644 --- a/keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk +++ b/keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk @@ -1,3 +1,6 @@ CUSTOM_MATRIX = yes SRC += matrix_common.c SRC += matrix_fast/matrix.c + +KEYBOARD_LOCAL_FEATURES_MK := $(dir $(lastword $(MAKEFILE_LIST)))../../local_features.mk +include $(KEYBOARD_LOCAL_FEATURES_MK) diff --git a/keyboards/handwired/symmetric70_proto/promicro/normal/rules.mk b/keyboards/handwired/symmetric70_proto/promicro/normal/rules.mk index 73192f4ff76..0b2b707ef82 100644 --- a/keyboards/handwired/symmetric70_proto/promicro/normal/rules.mk +++ b/keyboards/handwired/symmetric70_proto/promicro/normal/rules.mk @@ -1,3 +1,6 @@ CUSTOM_MATRIX = yes SRC += matrix_common.c SRC += matrix_debug/matrix.c + +KEYBOARD_LOCAL_FEATURES_MK := $(dir $(lastword $(MAKEFILE_LIST)))../../local_features.mk +include $(KEYBOARD_LOCAL_FEATURES_MK) diff --git a/keyboards/handwired/symmetric70_proto/promicro/readme.md b/keyboards/handwired/symmetric70_proto/promicro/readme.md index 83703f82ba0..c74063b9983 100644 --- a/keyboards/handwired/symmetric70_proto/promicro/readme.md +++ b/keyboards/handwired/symmetric70_proto/promicro/readme.md @@ -19,7 +19,7 @@ Flashing example for this keyboard: make handwired/symmetric70_proto/promicro/normal:default:flash make handwired/symmetric70_proto/promicro/fast:default:flash -Testing options: (see more options: [post_rules.mk](../post_rules.mk), [matrix_debug](../matrix_debug/readme.md) and [matrix_fast](../matrix_fast/readme.md) ) +Testing options: (see more options: [local_features.mk](../local_features.mk), [matrix_debug](../matrix_debug/readme.md) and [matrix_fast](../matrix_fast/readme.md) ) make MTEST=mdelay0 handwired/symmetric70_proto/promicro/normal:default:flash make MTEST=mdelay0 handwired/symmetric70_proto/promicro/fast:default:flash diff --git a/keyboards/handwired/symmetric70_proto/proton_c/fast/rules.mk b/keyboards/handwired/symmetric70_proto/proton_c/fast/rules.mk index fbc1c3bb388..de489fcabda 100644 --- a/keyboards/handwired/symmetric70_proto/proton_c/fast/rules.mk +++ b/keyboards/handwired/symmetric70_proto/proton_c/fast/rules.mk @@ -1,3 +1,6 @@ CUSTOM_MATRIX = yes SRC += matrix_common.c SRC += matrix_fast/matrix.c + +KEYBOARD_LOCAL_FEATURES_MK := $(dir $(lastword $(MAKEFILE_LIST)))../../local_features.mk +include $(KEYBOARD_LOCAL_FEATURES_MK) diff --git a/keyboards/handwired/symmetric70_proto/proton_c/normal/rules.mk b/keyboards/handwired/symmetric70_proto/proton_c/normal/rules.mk index 73192f4ff76..0b2b707ef82 100644 --- a/keyboards/handwired/symmetric70_proto/proton_c/normal/rules.mk +++ b/keyboards/handwired/symmetric70_proto/proton_c/normal/rules.mk @@ -1,3 +1,6 @@ CUSTOM_MATRIX = yes SRC += matrix_common.c SRC += matrix_debug/matrix.c + +KEYBOARD_LOCAL_FEATURES_MK := $(dir $(lastword $(MAKEFILE_LIST)))../../local_features.mk +include $(KEYBOARD_LOCAL_FEATURES_MK) diff --git a/keyboards/handwired/symmetric70_proto/proton_c/readme.md b/keyboards/handwired/symmetric70_proto/proton_c/readme.md index 7457b5f3ee0..fc10a2e634d 100644 --- a/keyboards/handwired/symmetric70_proto/proton_c/readme.md +++ b/keyboards/handwired/symmetric70_proto/proton_c/readme.md @@ -18,7 +18,7 @@ Flashing example for this keyboard: make handwired/symmetric70_proto/proton_c/normal:default:flash make handwired/symmetric70_proto/proton_c/fast:default:flash -Testing options: (see more options: [post_rules.mk](../post_rules.mk), [matrix_debug](../matrix_debug/readme.md) and [matrix_fast](../matrix_fast/readme.md) ) +Testing options: (see more options: [local_features.mk](../local_features.mk), [matrix_debug](../matrix_debug/readme.md) and [matrix_fast](../matrix_fast/readme.md) ) make MTEST=mdelay0 handwired/symmetric70_proto/proton_c/normal:default:flash make MTEST=mdelay0 handwired/symmetric70_proto/proton_c/fast:default:flash