From 800ec55dfca06b4630acf62cbb5f130c4031e4f1 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sat, 14 Oct 2017 11:32:19 -1000 Subject: Make arguments redo, subproject elimination (#1784) * redo make args to use colons, better folder structuring system [skip ci] * don't put spaces after statements - hard lessons in makefile development * fix-up some other rules.mk * give travis a chance * reset KEYMAPS variable * start converting keyboards to new system * try making all with travis * redo make args to use colons, better folder structuring system [skip ci] * don't put spaces after statements - hard lessons in makefile development * fix-up some other rules.mk * give travis a chance * reset KEYMAPS variable * start converting keyboards to new system * try making all with travis * start to update readmes and keyboards * look in keyboard directories for board.mk * update visualizer rules * fix up some other keyboards/keymaps * fix arm board ld includes * fix board rules * fix up remaining keyboards * reset layout variable * reset keyboard_layouts * fix remainging keymaps/boards * update readmes, docs * add note to makefile error * update readmes * remove planck keymap warnings * update references and docs * test out tarvis build stages * don't use stages for now * don't use stages for now --- keyboards/clueboard_66/Makefile | 5 ----- keyboards/clueboard_66/clueboard_66.h | 10 +++++----- keyboards/clueboard_66/config.h | 11 ----------- keyboards/clueboard_66/readme.md | 2 +- keyboards/clueboard_66/rev1/Makefile | 3 --- keyboards/clueboard_66/rev1/config.h | 2 +- keyboards/clueboard_66/rev2/Makefile | 3 --- keyboards/clueboard_66/rev2/config.h | 2 +- keyboards/clueboard_66/rev2/rev2.h | 2 +- keyboards/clueboard_66/rev3/config.h | 2 +- keyboards/clueboard_66/rev3/rev3.h | 2 +- keyboards/clueboard_66/rules.mk | 2 ++ keyboards/clueboard_66/subproject.mk | 1 - 13 files changed, 13 insertions(+), 34 deletions(-) delete mode 100644 keyboards/clueboard_66/Makefile delete mode 100644 keyboards/clueboard_66/rev1/Makefile delete mode 100644 keyboards/clueboard_66/rev2/Makefile delete mode 100644 keyboards/clueboard_66/subproject.mk (limited to 'keyboards/clueboard_66') diff --git a/keyboards/clueboard_66/Makefile b/keyboards/clueboard_66/Makefile deleted file mode 100644 index b9bada8f8d..0000000000 --- a/keyboards/clueboard_66/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -SUBPROJECT_DEFAULT = rev2 - -ifndef MAKEFILE_INCLUDED - include ../../Makefile -endif \ No newline at end of file diff --git a/keyboards/clueboard_66/clueboard_66.h b/keyboards/clueboard_66/clueboard_66.h index 295a596d5a..c8989983d0 100644 --- a/keyboards/clueboard_66/clueboard_66.h +++ b/keyboards/clueboard_66/clueboard_66.h @@ -1,16 +1,16 @@ #ifndef CLUEBOARD_H #define CLUEBOARD_H -#ifdef SUBPROJECT_rev1 +#include "quantum.h" + +#ifdef KEYBOARD_clueboard_66_rev1 #include "rev1.h" #endif -#ifdef SUBPROJECT_rev2 +#ifdef KEYBOARD_clueboard_66_rev2 #include "rev2.h" #endif -#ifdef SUBPROJECT_rev3 +#ifdef KEYBOARD_clueboard_66_rev3 #include "rev3.h" #endif -#include "quantum.h" - #endif diff --git a/keyboards/clueboard_66/config.h b/keyboards/clueboard_66/config.h index 0d4e6a8746..eaf3e073fb 100644 --- a/keyboards/clueboard_66/config.h +++ b/keyboards/clueboard_66/config.h @@ -60,15 +60,4 @@ along with this program. If not, see . //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -#ifdef SUBPROJECT_rev1 - #include "rev1/config.h" -#endif -#ifdef SUBPROJECT_rev2 - #include "rev2/config.h" -#endif -#ifdef SUBPROJECT_rev3 - #include "rev3/config.h" -#endif - #endif diff --git a/keyboards/clueboard_66/readme.md b/keyboards/clueboard_66/readme.md index 13859bc242..c2423096ec 100644 --- a/keyboards/clueboard_66/readme.md +++ b/keyboards/clueboard_66/readme.md @@ -13,6 +13,6 @@ A fully customizable 66% keyboard. Make example for this keyboard (after setting up your build environment): - make clueboard-rev3-default + make clueboard/rev3:default See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. diff --git a/keyboards/clueboard_66/rev1/Makefile b/keyboards/clueboard_66/rev1/Makefile deleted file mode 100644 index 191c6bb664..0000000000 --- a/keyboards/clueboard_66/rev1/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -ifndef MAKEFILE_INCLUDED - include ../../../Makefile -endif \ No newline at end of file diff --git a/keyboards/clueboard_66/rev1/config.h b/keyboards/clueboard_66/rev1/config.h index f40876ffbf..519e4d3ecb 100644 --- a/keyboards/clueboard_66/rev1/config.h +++ b/keyboards/clueboard_66/rev1/config.h @@ -1,7 +1,7 @@ #ifndef REV2_CONFIG_H #define REV2_CONFIG_H -#include "../config.h" +#include "config_common.h" #define PRODUCT_ID 0x2301 #define DEVICE_VER 0x0003 diff --git a/keyboards/clueboard_66/rev2/Makefile b/keyboards/clueboard_66/rev2/Makefile deleted file mode 100644 index 191c6bb664..0000000000 --- a/keyboards/clueboard_66/rev2/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -ifndef MAKEFILE_INCLUDED - include ../../../Makefile -endif \ No newline at end of file diff --git a/keyboards/clueboard_66/rev2/config.h b/keyboards/clueboard_66/rev2/config.h index bc34fc07bb..3c22c5b4a6 100644 --- a/keyboards/clueboard_66/rev2/config.h +++ b/keyboards/clueboard_66/rev2/config.h @@ -1,7 +1,7 @@ #ifndef REV2_CONFIG_H #define REV2_CONFIG_H -#include "../config.h" +#include "config_common.h" #define PRODUCT_ID 0x2320 #define DEVICE_VER 0x0001 diff --git a/keyboards/clueboard_66/rev2/rev2.h b/keyboards/clueboard_66/rev2/rev2.h index 75015ec024..da7ce500f9 100644 --- a/keyboards/clueboard_66/rev2/rev2.h +++ b/keyboards/clueboard_66/rev2/rev2.h @@ -1,7 +1,7 @@ #ifndef REV2_H #define REV2_H -#include "../clueboard_66.h" +#include "clueboard_66.h" /* Clueboard matrix layout * ,-----------------------------------------------------------. ,---. diff --git a/keyboards/clueboard_66/rev3/config.h b/keyboards/clueboard_66/rev3/config.h index cd12db22e1..5e645c78f0 100644 --- a/keyboards/clueboard_66/rev3/config.h +++ b/keyboards/clueboard_66/rev3/config.h @@ -1,7 +1,7 @@ #ifndef REV3_CONFIG_H #define REV3_CONFIG_H -#include "../config.h" +#include "config_common.h" #define PRODUCT_ID 0x2370 #define DEVICE_VER 0x0001 diff --git a/keyboards/clueboard_66/rev3/rev3.h b/keyboards/clueboard_66/rev3/rev3.h index fd6f983441..7fd243c809 100644 --- a/keyboards/clueboard_66/rev3/rev3.h +++ b/keyboards/clueboard_66/rev3/rev3.h @@ -1,7 +1,7 @@ #ifndef REV3_H #define REV3_H -#include "../clueboard_66.h" +#include "clueboard_66.h" /* Clueboard matrix layout * ,-----------------------------------------------------------. ,---. diff --git a/keyboards/clueboard_66/rules.mk b/keyboards/clueboard_66/rules.mk index afbb531a24..abab3bd5b7 100644 --- a/keyboards/clueboard_66/rules.mk +++ b/keyboards/clueboard_66/rules.mk @@ -19,3 +19,5 @@ RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality MIDI_ENABLE = no # MIDI controls UNICODE_ENABLE = no # Unicode BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID + +DEFAULT_FOLDER = clueboard_66/rev2 diff --git a/keyboards/clueboard_66/subproject.mk b/keyboards/clueboard_66/subproject.mk deleted file mode 100644 index 7c9b39598d..0000000000 --- a/keyboards/clueboard_66/subproject.mk +++ /dev/null @@ -1 +0,0 @@ -SUBPROJECT_DEFAULT = rev2 -- cgit v1.2.3