summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2019-01-31Remove duplicate make invocationszvecr1-2/+3
2018-09-11improve looks like hang up when first time execute make git-submodule (#3846)leico1-1/+1
2018-07-17Correct parsing of rules.mk for keyboard revisionsFredric Silberberg1-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.
2018-03-16Added a clean target to remove build artifactsSebastian1-0/+6
This commit adds a new clean target to the makefile which deletes the .build directory which removes all build artifacts.
2017-11-15update version silencingJack Humbert1-1/+1
2017-11-15update travis scriptJack Humbert1-0/+10
2017-10-15add note to makefile for future useJack Humbert1-0/+1
2017-10-15fix up default keymaps and remove keyboard folder filterJack Humbert1-1/+1
2017-10-14Make arguments redo, subproject elimination (#1784)Jack Humbert1-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
2017-09-08Remove all Makefiles from the keyboards directory. (#1660)skullydazed1-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
2017-09-07Revert "Remove the "lib/%" rule."skullY1-0/+4
This reverts commit 6fc43ddaf6048edc67c00ea258ffbbcbded631b0. I didn't think this through before pushing it.
2017-09-07Remove the "lib/%" rule.skullY1-4/+0
2017-09-07Clone chibios and ugfx if it's not already checked out. (#1651)skullydazed1-0/+7
* Clone chibios and ugfx if it's not already checked out. * update the submodule out of date message
2017-08-28add a `git-submodule` make target.skullY1-0/+4
2017-08-24Creates a layouts/ folder for keymaps shared between keyboards (#1609)Jack Humbert1-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
2017-08-11move qmk version to very top, exclude when git isn't availableJack Humbert1-2/+6
2017-08-08move version info to the top of the outputJack Humbert1-1/+2
2017-07-20Fix building of multiple test directoriesFred Sundvik1-1/+1
2017-07-10Fix Makefile error_occured output for unit testsFred Sundvik1-0/+2
2017-06-18Add basic infrastrucure for building full testsFred Sundvik1-1/+1
2017-04-13Add SKIP_VERSION option to speed up compilationFred Sundvik1-0/+8
2017-04-13Add makefile option to break on errorsFred Sundvik1-3/+10
2017-02-02Typo fixesOsamu Aoki1-18/+18
2017-01-27Merge pull request #869 from dylanjgscott/masterJack Humbert1-2/+2
Use `type cmp` to test for cmp in Makefile
2017-01-24Compare Makefile with itself instead of using `--help`Dylan Scott1-2/+2
2016-12-29Clean up the SKIP_GIT codeFred Sundvik1-17/+2
2016-12-29Remove extra parenthesis from MakefileFred Sundvik1-1/+1
Cygwin had trouble running the tests
2016-11-01Adding SKIP_GIT to speed up compiles.IBNobody1-18/+39
2016-10-30Run each sumbmake in a separate shellFred Sundvik1-8/+23
This will fix the situation where the commandline gets too long when there are many keyboards and keymaps.
2016-08-27The all target makes all keyboards and all testsFred Sundvik1-1/+5
2016-08-27Support for running and cleaning all testsFred Sundvik1-11/+22
2016-08-27Detect failures when running multiple testsFred Sundvik1-2/+11
Also add better output.
2016-08-27Fix running multiple testsFred Sundvik1-2/+4
2016-08-27Running of unit testsFred Sundvik1-3/+8
But only if the compilation has succeeded
2016-08-27The makefile actually calls build_testFred Sundvik1-5/+17
2016-08-27Basic framework for parsing test targetsFred Sundvik1-1/+15
2016-08-24Fix slight inconsistencyFred Sundvik1-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.
2016-08-21Add longest match to the rule-checkingFred Sundvik1-2/+41
This fixes cases where you have several keyboards with a common prefix, like algernon, and algernon-master
2016-08-20Comment the MakefileFred Sundvik1-16/+113
Also move some messages to message.mk
2016-08-20Better format for non-silent outputFred Sundvik1-2/+1
2016-08-20Continue on errorFred Sundvik1-1/+5
2016-08-20Pass the target to submakeFred Sundvik1-2/+8
2016-08-20Fix variable name clash with builtinFred Sundvik1-3/+3
This caused the submake to be called several times, messing up the build.
2016-08-20Options for silent compilationFred Sundvik1-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
2016-08-20Don't run builtin rules for submakeFred Sundvik1-1/+1
To speed up the compilation
2016-08-20Fix running make in parallelFred Sundvik1-1/+1
2016-08-20Move git submodule check and version generation to main MakefileFred Sundvik1-0/+12
2016-08-20Actual compilationFred Sundvik1-11/+15
2016-08-20Add color outputFred Sundvik1-3/+30
2016-08-20Fix running make from various subfoldersFred Sundvik1-14/+12