Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts: Use avr-gcc and specify MAKEFILE_KEYBOARD_LAYOUT macro.
The avr-gcc cross-compiler should be used as some includes are specific to the AVR target and fail when using a GCC for the host. Also, expose any failure when running the GCC command; previously such errors would only manifest themselves later in a more confusing fashion (see: benblazak#97). Finally, the MAKEFILE_KEYBOARD_LAYOUT macro needs to be specified for the GCC command to succeed. * build-scripts/gen-ui-info.py (gen_mappings.parse_layout_file): Use subprocess.check_output. Replace 'gcc' with 'avr-gcc'. Specify the MAKEFILE_KEYBOARD_LAYOUT macro. Fixes: benblazak#97
- Loading branch information