From 4cdcbdb861589ae23902d0e9cadcf27453623a79 Mon Sep 17 00:00:00 2001 From: skullydazed Date: Fri, 8 Sep 2017 10:47:50 -0700 Subject: Remove all Makefiles from the keyboards directory. (#1660) * Remove all Makefiles from the keyboards directory. * update keymaps added in the last 8 days * Ignore keyboard/keymap makefiles * update hand_wire to reflect our new Makefile-less reality * Update the make guide to reflect the new reality * move planck keymap options to rules.mk * update planck keymaps 4real * trigger travis * add back build_keyboard.mk * restore changes to build_keyboard --- keyboards/clueboard/keymaps/bloodlvst/rules.mk | 2 + keyboards/clueboard/keymaps/magicmonty/rules.mk | 9 +++ keyboards/clueboard/keymaps/mouse_keys/rules.mk | 1 + keyboards/clueboard/keymaps/serubin/rules.mk | 4 ++ keyboards/clueboard/keymaps/tetris/rules.mk | 1 + keyboards/clueboard/keymaps/xyverz/rules.mk | 49 +++++++++++++++ keyboards/clueboard/rev3/Makefile | 3 - keyboards/clueboard/rules.mk | 82 ------------------------- keyboards/clueboard/subproject.mk | 1 + 9 files changed, 67 insertions(+), 85 deletions(-) create mode 100644 keyboards/clueboard/keymaps/bloodlvst/rules.mk create mode 100644 keyboards/clueboard/keymaps/magicmonty/rules.mk create mode 100644 keyboards/clueboard/keymaps/mouse_keys/rules.mk create mode 100644 keyboards/clueboard/keymaps/serubin/rules.mk create mode 100644 keyboards/clueboard/keymaps/tetris/rules.mk create mode 100644 keyboards/clueboard/keymaps/xyverz/rules.mk delete mode 100644 keyboards/clueboard/rev3/Makefile create mode 100644 keyboards/clueboard/subproject.mk (limited to 'keyboards/clueboard') diff --git a/keyboards/clueboard/keymaps/bloodlvst/rules.mk b/keyboards/clueboard/keymaps/bloodlvst/rules.mk new file mode 100644 index 000000000..b1c2f32f6 --- /dev/null +++ b/keyboards/clueboard/keymaps/bloodlvst/rules.mk @@ -0,0 +1,2 @@ +EXTRAKEY_ENABLE = yes +COMMAND_ENABLE = no diff --git a/keyboards/clueboard/keymaps/magicmonty/rules.mk b/keyboards/clueboard/keymaps/magicmonty/rules.mk new file mode 100644 index 000000000..289018f34 --- /dev/null +++ b/keyboards/clueboard/keymaps/magicmonty/rules.mk @@ -0,0 +1,9 @@ + +MOUSEKEY_ENABLE = yes +EXTRAKEY_ENABLE = yes + +MIDI_ENABLE = yes + +# if MIDI_ENABLE is set to yes, then CONSOLE_ENABLE has to be disabled, because of the firmware size +CONSOLE_ENABLE = false +COMMAND_ENABLE = no diff --git a/keyboards/clueboard/keymaps/mouse_keys/rules.mk b/keyboards/clueboard/keymaps/mouse_keys/rules.mk new file mode 100644 index 000000000..6c605daec --- /dev/null +++ b/keyboards/clueboard/keymaps/mouse_keys/rules.mk @@ -0,0 +1 @@ +MOUSEKEY_ENABLE = yes diff --git a/keyboards/clueboard/keymaps/serubin/rules.mk b/keyboards/clueboard/keymaps/serubin/rules.mk new file mode 100644 index 000000000..ba997f869 --- /dev/null +++ b/keyboards/clueboard/keymaps/serubin/rules.mk @@ -0,0 +1,4 @@ + +MOUSEKEY_ENABLE = yes +EXTRAKEY_ENABLE = yes + diff --git a/keyboards/clueboard/keymaps/tetris/rules.mk b/keyboards/clueboard/keymaps/tetris/rules.mk new file mode 100644 index 000000000..461353129 --- /dev/null +++ b/keyboards/clueboard/keymaps/tetris/rules.mk @@ -0,0 +1 @@ +SRC = tetris_text.c diff --git a/keyboards/clueboard/keymaps/xyverz/rules.mk b/keyboards/clueboard/keymaps/xyverz/rules.mk new file mode 100644 index 000000000..950dadf84 --- /dev/null +++ b/keyboards/clueboard/keymaps/xyverz/rules.mk @@ -0,0 +1,49 @@ +#---------------------------------------------------------------------------- +# On command line: +# +# make all = Make software. +# +# make clean = Clean out built project files. +# +# make coff = Convert ELF to AVR COFF. +# +# make extcoff = Convert ELF to AVR Extended COFF. +# +# make program = Download the hex file to the device. +# Please customize your programmer settings(PROGRAM_CMD) +# +# make teensy = Download the hex file to the device, using teensy_loader_cli. +# (must have teensy_loader_cli installed). +# +# make dfu = Download the hex file to the device, using dfu-programmer (must +# have dfu-programmer installed). +# +# make flip = Download the hex file to the device, using Atmel FLIP (must +# have Atmel FLIP installed). +# +# make dfu-ee = Download the eeprom file to the device, using dfu-programmer +# (must have dfu-programmer installed). +# +# make flip-ee = Download the eeprom file to the device, using Atmel FLIP +# (must have Atmel FLIP installed). +# +# make debug = Start either simulavr or avarice as specified for debugging, +# with avr-gdb or avr-insight as the front end for debugging. +# +# make filename.s = Just compile filename.c into the assembler code only. +# +# make filename.i = Create a preprocessed source file for use in submitting +# bug reports to the GCC project. +# +# To rebuild project do "make clean" then "make all". +#---------------------------------------------------------------------------- + +# Build Options +# change to "no" to disable the options, or define them in the makefile.mk in +# the appropriate keymap folder that will get included automatically +# +RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif \ No newline at end of file diff --git a/keyboards/clueboard/rev3/Makefile b/keyboards/clueboard/rev3/Makefile deleted file mode 100644 index 191c6bb66..000000000 --- a/keyboards/clueboard/rev3/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -ifndef MAKEFILE_INCLUDED - include ../../../Makefile -endif \ No newline at end of file diff --git a/keyboards/clueboard/rules.mk b/keyboards/clueboard/rules.mk index 74bfcfe74..afbb531a2 100644 --- a/keyboards/clueboard/rules.mk +++ b/keyboards/clueboard/rules.mk @@ -1,92 +1,10 @@ -#---------------------------------------------------------------------------- -# On command line: -# -# make all = Make software. -# -# make clean = Clean out built project files. -# -# make coff = Convert ELF to AVR COFF. -# -# make extcoff = Convert ELF to AVR Extended COFF. -# -# make program = Download the hex file to the device. -# Please customize your programmer settings(PROGRAM_CMD) -# -# make teensy = Download the hex file to the device, using teensy_loader_cli. -# (must have teensy_loader_cli installed). -# -# make dfu = Download the hex file to the device, using dfu-programmer (must -# have dfu-programmer installed). -# -# make flip = Download the hex file to the device, using Atmel FLIP (must -# have Atmel FLIP installed). -# -# make dfu-ee = Download the eeprom file to the device, using dfu-programmer -# (must have dfu-programmer installed). -# -# make flip-ee = Download the eeprom file to the device, using Atmel FLIP -# (must have Atmel FLIP installed). -# -# make debug = Start either simulavr or avarice as specified for debugging, -# with avr-gdb or avr-insight as the front end for debugging. -# -# make filename.s = Just compile filename.c into the assembler code only. -# -# make filename.i = Create a preprocessed source file for use in submitting -# bug reports to the GCC project. -# -# To rebuild project do "make clean" then "make all". -#---------------------------------------------------------------------------- - -# MCU name MCU = atmega32u4 - -# Processor frequency. -# This will define a symbol, F_CPU, in all source code files equal to the -# processor frequency in Hz. You can then use this symbol in your source code to -# calculate timings. Do NOT tack on a 'UL' at the end, this will be done -# automatically to create a 32-bit value in your source code. -# -# This will be an integer division of F_USB below, as it is sourced by -# F_USB after it has run through any CPU prescalers. Note that this value -# does not *change* the processor frequency - it should merely be updated to -# reflect the processor speed set externally so that the code can use accurate -# software delays. F_CPU = 16000000 - - -# -# LUFA specific -# -# Target architecture (see library "Board Types" documentation). ARCH = AVR8 - -# Input clock frequency. -# This will define a symbol, F_USB, in all source code files equal to the -# input clock frequency (before any prescaling is performed) in Hz. This value may -# differ from F_CPU if prescaling is used on the latter, and is required as the -# raw input clock is fed directly to the PLL sections of the AVR for high speed -# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' -# at the end, this will be done automatically to create a 32-bit value in your -# source code. -# -# If no clock division is performed on the input clock inside the AVR (via the -# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. F_USB = $(F_CPU) - -# Interrupt driven control endpoint task(+60) OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT - - -# Boot Section Size in *bytes* -# Teensy halfKay 512 -# Teensy++ halfKay 1024 -# Atmel DFU loader 4096 -# LUFA bootloader 4096 -# USBaspLoader 2048 OPT_DEFS += -DBOOTLOADER_SIZE=4096 - # Build Options # comment out to disable the options. # diff --git a/keyboards/clueboard/subproject.mk b/keyboards/clueboard/subproject.mk new file mode 100644 index 000000000..7c9b39598 --- /dev/null +++ b/keyboards/clueboard/subproject.mk @@ -0,0 +1 @@ +SUBPROJECT_DEFAULT = rev2 -- cgit v1.2.3