summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2019-08-28Add an alternative method for keyboard discovery to speed up build (#6073)Joel Challis
* Add an alternative method for keyboard discovery to speed up build * Chain MAKEFLAGS for docker_build.sh * Slight improvement to number of items sent to sort * Remove debug line * Fix line escape
2019-05-06Make python a required build dependency (#5784)skullydazed
* Make python a required build dependency * Add missing color * fixup sabayon linux per @BlitzKraft
2019-03-08Shallow clone submodules. (#5279)Blaž Hrastnik
There's no need to fetch the entire submodule history if we only need the latest revision. Speeds up the download a fair bit.
2019-02-05Add distclean target insteadfauxpark
2019-02-05These targets should be .PHONYfauxpark
2019-02-05make clean should remove .bin and .hex toofauxpark
2019-01-30Remove duplicate make invocationszvecr
2018-09-10improve looks like hang up when first time execute make git-submodule (#3846)leico
2018-07-17Correct parsing of rules.mk for keyboard revisionsFredric Silberberg
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 artifactsSebastian
This commit adds a new clean target to the makefile which deletes the .build directory which removes all build artifacts.
2017-11-14update version silencingJack Humbert
2017-11-14update travis scriptJack Humbert
2017-10-15add note to makefile for future useJack Humbert
2017-10-15fix up default keymaps and remove keyboard folder filterJack Humbert
2017-10-14Make arguments redo, subproject elimination (#1784)Jack Humbert
* 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)skullydazed
* 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-06Revert "Remove the "lib/%" rule."skullY
This reverts commit 6fc43ddaf6048edc67c00ea258ffbbcbded631b0. I didn't think this through before pushing it.
2017-09-06Remove the "lib/%" rule.skullY
2017-09-06Clone chibios and ugfx if it's not already checked out. (#1651)skullydazed
* 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.skullY
2017-08-23Creates a layouts/ folder for keymaps shared between keyboards (#1609)Jack Humbert
* 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-10move qmk version to very top, exclude when git isn't availableJack Humbert
2017-08-08move version info to the top of the outputJack Humbert
2017-07-20Fix building of multiple test directoriesFred Sundvik
2017-07-10Fix Makefile error_occured output for unit testsFred Sundvik
2017-06-18Add basic infrastrucure for building full testsFred Sundvik
2017-04-13Add SKIP_VERSION option to speed up compilationFred Sundvik
2017-04-13Add makefile option to break on errorsFred Sundvik
2017-02-02Typo fixesOsamu Aoki
2017-01-27Merge pull request #869 from dylanjgscott/masterJack Humbert
Use `type cmp` to test for cmp in Makefile
2017-01-24Compare Makefile with itself instead of using `--help`Dylan Scott
2016-12-29Clean up the SKIP_GIT codeFred Sundvik
2016-12-29Remove extra parenthesis from MakefileFred Sundvik
Cygwin had trouble running the tests
2016-11-01Adding SKIP_GIT to speed up compiles.IBNobody
2016-10-30Run each sumbmake in a separate shellFred Sundvik
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 Sundvik
2016-08-27Support for running and cleaning all testsFred Sundvik
2016-08-27Detect failures when running multiple testsFred Sundvik
Also add better output.
2016-08-27Fix running multiple testsFred Sundvik
2016-08-27Running of unit testsFred Sundvik
But only if the compilation has succeeded
2016-08-27The makefile actually calls build_testFred Sundvik
2016-08-27Basic framework for parsing test targetsFred Sundvik
2016-08-24Fix slight inconsistencyFred Sundvik
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 Sundvik
This fixes cases where you have several keyboards with a common prefix, like algernon, and algernon-master
2016-08-20Comment the MakefileFred Sundvik
Also move some messages to message.mk
2016-08-20Better format for non-silent outputFred Sundvik
2016-08-20Continue on errorFred Sundvik
2016-08-20Pass the target to submakeFred Sundvik
2016-08-20Fix variable name clash with builtinFred Sundvik
This caused the submake to be called several times, messing up the build.
2016-08-20Options for silent compilationFred Sundvik
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