summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Shallow clone submodules. (#5279)Blaž Hrastnik2019-03-081-3/+3
| | | There's no need to fetch the entire submodule history if we only need the latest revision. Speeds up the download a fair bit.
* Add distclean target insteadfauxpark2019-02-051-6/+7
|
* These targets should be .PHONYfauxpark2019-02-051-0/+4
|
* make clean should remove .bin and .hex toofauxpark2019-02-051-2/+4
|
* Remove duplicate make invocationszvecr2019-01-301-2/+3
|
* improve looks like hang up when first time execute make git-submodule (#3846)leico2018-09-101-1/+1
|
* Correct parsing of rules.mk for keyboard revisionsFredric Silberberg2018-07-171-17/+12
| | | | | | | | | | Previously, when looking for rules.mk files, we'd parse the individual folders (A/B/C/D/E) into 5 variables, (A/B/C/D/E, A/B/C/D, A/B/C, A/B, and A). Then, we'd get the final directory names and store _those_ in 5 new variables (A, B, C, D, and E). Then, when looking for the rules.mk, we'd look in root_dir/keyboards/(A|B|C|D|E)/rules.mk, instead of looking in root_dir/keyboards(A|A/B|A/B/C|A/B/C/D|A/B/C/D/E)/rules.mk. This commit changes that logic from the former to the latter.
* Added a clean target to remove build artifactsSebastian2018-03-161-0/+6
| | | | | This commit adds a new clean target to the makefile which deletes the .build directory which removes all build artifacts.
* update version silencingJack Humbert2017-11-141-1/+1
|
* update travis scriptJack Humbert2017-11-141-0/+10
|
* add note to makefile for future useJack Humbert2017-10-151-0/+1
|
* fix up default keymaps and remove keyboard folder filterJack Humbert2017-10-151-1/+1
|
* Make arguments redo, subproject elimination (#1784)Jack Humbert2017-10-141-178/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove all Makefiles from the keyboards directory. (#1660)skullydazed2017-09-081-4/+6
| | | | | | | | | | | | | | | | | | | | | | * 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
* Revert "Remove the "lib/%" rule."skullY2017-09-061-0/+4
| | | | | | This reverts commit 6fc43ddaf6048edc67c00ea258ffbbcbded631b0. I didn't think this through before pushing it.
* Remove the "lib/%" rule.skullY2017-09-061-4/+0
|
* Clone chibios and ugfx if it's not already checked out. (#1651)skullydazed2017-09-061-0/+7
| | | | | | * Clone chibios and ugfx if it's not already checked out. * update the submodule out of date message
* add a `git-submodule` make target.skullY2017-08-281-0/+4
|
* Creates a layouts/ folder for keymaps shared between keyboards (#1609)Jack Humbert2017-08-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* move qmk version to very top, exclude when git isn't availableJack Humbert2017-08-101-2/+6
|
* move version info to the top of the outputJack Humbert2017-08-081-1/+2
|
* Fix building of multiple test directoriesFred Sundvik2017-07-201-1/+1
|
* Fix Makefile error_occured output for unit testsFred Sundvik2017-07-101-0/+2
|
* Add basic infrastrucure for building full testsFred Sundvik2017-06-181-1/+1
|
* Add SKIP_VERSION option to speed up compilationFred Sundvik2017-04-131-0/+8
|
* Add makefile option to break on errorsFred Sundvik2017-04-131-3/+10
|
* Typo fixesOsamu Aoki2017-02-021-18/+18
|
* Merge pull request #869 from dylanjgscott/masterJack Humbert2017-01-271-2/+2
|\ | | | | Use `type cmp` to test for cmp in Makefile
| * Compare Makefile with itself instead of using `--help`Dylan Scott2017-01-241-2/+2
| |
* | Clean up the SKIP_GIT codeFred Sundvik2016-12-291-17/+2
| |
* | Remove extra parenthesis from MakefileFred Sundvik2016-12-291-1/+1
| | | | | | | | Cygwin had trouble running the tests
* | Adding SKIP_GIT to speed up compiles.IBNobody2016-11-011-18/+39
|/
* Run each sumbmake in a separate shellFred Sundvik2016-10-301-8/+23
| | | | | This will fix the situation where the commandline gets too long when there are many keyboards and keymaps.
* The all target makes all keyboards and all testsFred Sundvik2016-08-271-1/+5
|
* Support for running and cleaning all testsFred Sundvik2016-08-271-11/+22
|
* Detect failures when running multiple testsFred Sundvik2016-08-271-2/+11
| | | | Also add better output.
* Fix running multiple testsFred Sundvik2016-08-271-2/+4
|
* Running of unit testsFred Sundvik2016-08-271-3/+8
| | | | But only if the compilation has succeeded
* The makefile actually calls build_testFred Sundvik2016-08-271-5/+17
|
* Basic framework for parsing test targetsFred Sundvik2016-08-271-1/+15
|
* Fix slight inconsistencyFred Sundvik2016-08-241-13/+15
| | | | | | | | 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.
* Add longest match to the rule-checkingFred Sundvik2016-08-211-2/+41
| | | | | This fixes cases where you have several keyboards with a common prefix, like algernon, and algernon-master
* Comment the MakefileFred Sundvik2016-08-201-16/+113
| | | | Also move some messages to message.mk
* Better format for non-silent outputFred Sundvik2016-08-201-2/+1
|
* Continue on errorFred Sundvik2016-08-201-1/+5
|
* Pass the target to submakeFred Sundvik2016-08-201-2/+8
|
* Fix variable name clash with builtinFred Sundvik2016-08-201-3/+3
| | | | | This caused the submake to be called several times, messing up the build.
* Options for silent compilationFred Sundvik2016-08-201-12/+38
| | | | | | 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
* Don't run builtin rules for submakeFred Sundvik2016-08-201-1/+1
| | | | To speed up the compilation
* Fix running make in parallelFred Sundvik2016-08-201-1/+1
|