]> git.donarmstrong.com Git - qmk_firmware.git/commit
Better "include guards" for the makefiles
authorFred Sundvik <fsundvik@gmail.com>
Sun, 31 Jul 2016 10:22:18 +0000 (13:22 +0300)
committerFred Sundvik <fsundvik@gmail.com>
Sun, 31 Jul 2016 10:22:18 +0000 (13:22 +0300)
commit79067662c8c71129a84a41b0147edc63b33db709
tree852332cc9e19178904db56233bf0fb0f845d2267
parent7775f3e4b3309f3102bf9d887a79514a67d18da6
Better "include guards" for the makefiles

Checking for ARCH is not good enough, since some subprojects define it.
Ergodox Ez for example. The leads to running the make from
keyboards/ergodox/ez failing. The keyboard makefile will not be included
in that case, and therefore not the CUSTOM_MATRIX either.

Furthermore the output files are read from many different .build
directories, so it doesn't fail deterministically. For example on the
Travis CI the compilation passes, since there's no outdated objects that
needs recompilation.
Makefile