Commit Graph

91 Commits (ea819268f3d08868ca72bd7911de7979c866d8a5)

Author SHA1 Message Date
skullydazed 4cdcbdb861 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
7 years ago
skullY 927ef81363 Revert "Remove the "lib/%" rule."
This reverts commit 6fc43ddaf6.

I didn't think this through before pushing it.
7 years ago
skullY 6fc43ddaf6 Remove the "lib/%" rule. 7 years ago
skullydazed 2b3803eb5e Clone chibios and ugfx if it's not already checked out. (#1651)
* Clone chibios and ugfx if it's not already checked out.

* update the submodule out of date message
7 years ago
skullY ed56a6859f add a `git-submodule` make target. 7 years ago
Jack Humbert d2ff66a985 Creates a layouts/ folder for keymaps shared between keyboards (#1609)
* include variables and .h files as pp directives

* start layout compilation

* split ergodoxes up

* don't compile all layouts for everything

* might seg fault

* reset layouts variable

* actually reset layouts

* include rules.mk instead

* remove includes from rules.mk

* update variable setting

* load visualizer from path

* adds some more examples

* adds more layouts

* more boards added

* more boards added

* adds documentation for layouts

* use lowercase names for LAYOUT_

* add layout.json files for each layout

* add community folder, default keymaps for layouts

* touch-up default layouts

* touch-up layouts, some keyboard rules.mk

* update documentation for layouts

* fix up serial/i2c switches
7 years ago
Jack Humbert 88198a9606 move qmk version to very top, exclude when git isn't available 7 years ago
Jack Humbert 26d348b6d1 move version info to the top of the output 7 years ago
Fred Sundvik 20696a9efe Fix building of multiple test directories 8 years ago
Fred Sundvik 1ff5fb000f Fix Makefile error_occured output for unit tests 8 years ago
Fred Sundvik 30f22d450d Add basic infrastrucure for building full tests 8 years ago
Fred Sundvik 738b8d2b9c Add SKIP_VERSION option to speed up compilation 8 years ago
Fred Sundvik 224fc8a20f Add makefile option to break on errors 8 years ago
Osamu Aoki f787f4291a Typo fixes 8 years ago
Jack Humbert a28f689387 Merge pull request #869 from dylanjgscott/master
Use `type cmp` to test for cmp in Makefile
8 years ago
Dylan Scott 245f77b863 Compare Makefile with itself instead of using `--help` 8 years ago
Fred Sundvik 1d1f2b4ee2 Clean up the SKIP_GIT code 8 years ago
Fred Sundvik 2acfd2ab2b Remove extra parenthesis from Makefile
Cygwin had trouble running the tests
8 years ago
IBNobody 78976d8f7a Adding SKIP_GIT to speed up compiles. 8 years ago
Fred Sundvik d956dd1248 Run each sumbmake in a separate shell
This will fix the situation where the commandline gets too long when
there are many keyboards and keymaps.
8 years ago
Fred Sundvik 6410f0c021 The all target makes all keyboards and all tests 8 years ago
Fred Sundvik 1b963117fe Support for running and cleaning all tests 8 years ago
Fred Sundvik 7eefb34e7c Detect failures when running multiple tests
Also add better output.
8 years ago
Fred Sundvik fc855cb30e Fix running multiple tests 8 years ago
Fred Sundvik f4429ba48c Running of unit tests
But only if the compilation has succeeded
8 years ago
Fred Sundvik 27a673f5cf The makefile actually calls build_test 8 years ago
Fred Sundvik 6d7cd639a5 Basic framework for parsing test targets 8 years ago
Fred Sundvik 7c9fff59d0 Fix slight inconsistency
When running make from either a keyboard folder or a subproject
it runs all keymaps for all subprojects and the selected subproject
respectively. Without this fix, the same doesn't happen if your
run make clean for example. As it would just provide you with an
error message. Now this will work as expected.
8 years ago
Fred Sundvik 1c69acb7d5 Add longest match to the rule-checking
This fixes cases where you have several keyboards with a common
prefix, like algernon, and algernon-master
8 years ago
Fred Sundvik b26ded3ab1 Comment the Makefile
Also move some messages to message.mk
8 years ago
Fred Sundvik f29730da36 Better format for non-silent output 8 years ago
Fred Sundvik 03e31ef8b9 Continue on error 8 years ago
Fred Sundvik 87bf34a5d3 Pass the target to submake 8 years ago
Fred Sundvik d924eb591e Fix variable name clash with builtin
This caused the submake to be called several times, messing up the
build.
8 years ago
Fred Sundvik 8732265928 Options for silent compilation
A single keyboard is always by default compiled in verbose mode.
While multiple keyboards are compiled in silent mode. This can be
overriden by the silent variable from the command line
8 years ago
Fred Sundvik e4c842de02 Don't run builtin rules for submake
To speed up the compilation
8 years ago
Fred Sundvik 881bde8258 Fix running make in parallel 8 years ago
Fred Sundvik 60c6e79ecb Move git submodule check and version generation to main Makefile 8 years ago
Fred Sundvik 67b294ca66 Actual compilation 8 years ago
Fred Sundvik db5c3b74fb Add color output 8 years ago
Fred Sundvik 0dd629a990 Fix running make from various subfolders 8 years ago
Fred Sundvik a04bb3a3ba Fixed the shortcut targets 8 years ago
Fred Sundvik 3fa6625869 Proper default goals when inside keyboard fodlers 8 years ago
Fred Sundvik 459ddaceda Add backwards compability with makefile variables 8 years ago
Fred Sundvik 4f20061f66 Proper handling for running make from a subproject or keymap dir 8 years ago
Fred Sundvik c83af54513 Support for running from keyboard directory 8 years ago
Fred Sundvik 1ad5578d11 Print error when building non-existing keyboard 8 years ago
Fred Sundvik a6d3500024 Print error message when trying to build non-existing keymap 8 years ago
Fred Sundvik 2dd9c1edcd Proper parsing of keymaps inside subprojects 8 years ago
Fred Sundvik 44441de8ca Split keyboard makefiles into rules and Makefile 8 years ago