]> git.donarmstrong.com Git - qmk_firmware.git/commit
Correct parsing of rules.mk for keyboard revisions
authorFredric Silberberg <fred@silberberg.xyz>
Wed, 11 Jul 2018 06:39:38 +0000 (23:39 -0700)
committerJack Humbert <jack.humb@gmail.com>
Tue, 17 Jul 2018 04:10:42 +0000 (00:10 -0400)
commitbbecd276d2883e488f7ec41ec78a0f71c6d604c1
tree8a88fb9d54968deb620a1ad6f9bce6c23b7c766b
parent4d4b845cf59749c4af4f91d05c39b9196b00ab99
Correct parsing of rules.mk for keyboard revisions

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.
Makefile