switched stemcell builds from rules.mk to just part of the github build action

This commit is contained in:
Sadek Baroudi 2022-10-31 01:50:41 -07:00
parent 3be6bec7ee
commit d50bfc5bd8
9 changed files with 20 additions and 9 deletions

View File

@ -160,6 +160,9 @@ make_build_string_recursive() {
local param_name=$(cat "${build_json}" | jq -r ".[${param_number}].name")
make_build_string_recursive "${build_json}" "${run_build}" $next_param_number "${build_string_base} ${param_name}=yes"
make_build_string_recursive "${build_json}" "${run_build}" $next_param_number "${build_string_base} ${param_name}=no"
elif [[ "${param_type}" == "convert-to" ]]; then
local param_name=$(cat "${build_json}" | jq -r ".[${param_number}].name")
make_build_string_recursive "${build_json}" "${run_build}" $next_param_number "${build_string_base} CONVERT_TO=${param_name}"
else
echo "invalid type in json file: ${param_type}"
exit

View File

@ -1,4 +1,8 @@
[
{
"type" : "convert-to",
"name" : "stemcell"
},
{
"type" : "single",
"name" : "CIRQUE_ENABLE",

View File

@ -40,8 +40,6 @@ EXTRAFLAGS += -flto # macros disabled, as a lot of barobord features req
# for instance, if you build "no_features", it's very unlikely you'll need to disable macros
MOUSEKEY_ENABLE = no
CONVERT_TO = stemcell
CIRQUE_ENABLE = no
ifeq ($(strip $(CIRQUE_ENABLE)), yes)

View File

@ -1,4 +1,8 @@
[
{
"type" : "convert-to",
"name" : "stemcell"
},
{
"type" : "single",
"name" : "CIRQUE_ENABLE",

View File

@ -39,8 +39,6 @@ OLED_ENABLE = no # this can be yes or no depending on if you have an
EXTRAFLAGS += -flto # macros disabled, as a lot of barobord features require more space, can move this line into all the individual rules.mk, only where needed
# for instance, if you build "no_features", it's very unlikely you'll need to disable macros
CONVERT_TO = stemcell
SRC += keyboards/fingerpunch/fp_matrix_74hc595_spi.c
QUANTUM_LIB_SRC += spi_master.c
CUSTOM_MATRIX = lite

View File

@ -1,4 +1,8 @@
[
{
"type" : "convert-to",
"name" : "stemcell"
},
{
"type" : "single",
"name" : "CIRQUE_ENABLE",
@ -24,4 +28,4 @@
"name" : "PIMORONI_TRACKBALL_ENABLE",
"user_input": "Do you have a pimoroni trackball?"
}
]
]

View File

@ -42,8 +42,6 @@ ENCODER_ENABLE = no
OLED_ENABLE = no
# EXTRAFLAGS += -flto # macros disabled, if you need the extra space
CONVERT_TO = stemcell
ifeq ($(strip $(CIRQUE_ENABLE)), yes)
MOUSEKEY_ENABLE := yes # not required, but enabling for mouse button keys
POINTING_DEVICE_ENABLE := yes

View File

@ -1,4 +1,8 @@
[
{
"type" : "convert-to",
"name" : "stemcell"
},
{
"type" : "single",
"name" : "CIRQUE_ENABLE",

View File

@ -39,8 +39,6 @@ ENCODER_ENABLE = no
# EXTRAFLAGS += -flto # macros disabled, if you need the extra space
MOUSEKEY_ENABLE = no
CONVERT_TO = stemcell
SRC += keyboards/fingerpunch/fp_matrix_74hc595_spi.c
QUANTUM_LIB_SRC += spi_master.c
CUSTOM_MATRIX = lite