diff options
author | Florian Fleissner <florian.fleissner@inpartik.de> | 2019-02-27 18:26:30 +0100 |
---|---|---|
committer | Florian Fleissner <florian.fleissner@inpartik.de> | 2019-02-27 18:26:30 +0100 |
commit | 063908a90e8a4d371d0e4907f580c1edbc6a1495 (patch) | |
tree | fbcd70d111181155fdb92f1eb69a141135b4c361 /.gitignore | |
parent | c700ee2381a968b701138fef8685df2a5309323c (diff) | |
download | model01-firmware-063908a90e8a4d371d0e4907f580c1edbc6a1495.tar.gz model01-firmware-063908a90e8a4d371d0e4907f580c1edbc6a1495.tar.bz2 model01-firmware-063908a90e8a4d371d0e4907f580c1edbc6a1495.zip |
Fallback settings for BOARD_HARDWARE_PATH
This commit allows the Makefile to check if the BOARD_HARDWARE_PATH
it tried to determine based on the system specific Arduino installation
is correct. This is done by checking for the Kaleidoscope library's existence.
If Kaleidoscope is not found, the Makefile falls back to determining
the hardware path relative to its own location. This even enables
building from any location where a *.ino file lives without
the requirement to checkout the kaleidoscope libraries into
Arduino installation's hardware path or to symlink them there.
The following now is possible
> SOURCE_DIR=<place where the sources live>
> cd $SOURCE_DIR
> mkdir hardware
> git clone --recursive <URL of the Kaleidoscope bundle> hardware/keyboardio
> BUILD_DIR=<location where a *.ino file lives>
> cd $BUILD_DIR
> make -f $SOURCE_DIR/hardware/keyboardio/avr/libraries/Model01-Firmware/Makefile
for quick builds
> SOURCE_DIR=<place where the sources live>
> cd $SOURCE_DIR
> mkdir hardware
> git clone --recursive <URL of the Kaleidoscope bundle> hardware/keyboardio
> cd hardware/keyboardio/avr/libraries/Model01-Firmware make
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions