diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-07-07 15:33:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-07 15:33:29 -0400 |
commit | 9de443cbf10ac41bc15762c9c83f138f51dd3b9a (patch) | |
tree | d8ddcb428e0b7d9773a1e52c42b60bdca2658beb /tmk_core/protocol/lufa/LUFA-git/BuildTests/BootloaderTest/makefile | |
parent | 88b3d051b21cb1ddacc6353c5d59b19f03f3a242 (diff) | |
parent | 1c26468ad5a0701e244c99cbcbc547c93b75d515 (diff) | |
download | firmware-9de443cbf10ac41bc15762c9c83f138f51dd3b9a.tar.gz firmware-9de443cbf10ac41bc15762c9c83f138f51dd3b9a.tar.bz2 firmware-9de443cbf10ac41bc15762c9c83f138f51dd3b9a.zip |
Merge pull request #1471 from qmk/lufa_lib
Update LUFA and move it to /lib/lufa
Diffstat (limited to 'tmk_core/protocol/lufa/LUFA-git/BuildTests/BootloaderTest/makefile')
-rw-r--r-- | tmk_core/protocol/lufa/LUFA-git/BuildTests/BootloaderTest/makefile | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/tmk_core/protocol/lufa/LUFA-git/BuildTests/BootloaderTest/makefile b/tmk_core/protocol/lufa/LUFA-git/BuildTests/BootloaderTest/makefile deleted file mode 100644 index 52ebb9cdb..000000000 --- a/tmk_core/protocol/lufa/LUFA-git/BuildTests/BootloaderTest/makefile +++ /dev/null @@ -1,64 +0,0 @@ -# -# LUFA Library -# Copyright (C) Dean Camera, 2014. -# -# dean [at] fourwalledcubicle [dot] com -# www.lufa-lib.org -# - -# Makefile for the bootloader build test. This -# test attempts to build all the bootloaders -# with all supported device configurations. - -# Path to the LUFA library core -LUFA_PATH := ../../LUFA/ - -# Build test cannot be run with multiple parallel jobs -.NOTPARALLEL: - -all: begin testbootloaders clean end - -begin: - @echo Executing build test "BootloaderTest". - @echo - -end: - @echo Build test "BootloaderTest" complete. - @echo - -testbootloaders: - @echo "buildtest:" > BuildMakefile - - @while read line; \ - do \ - build_cfg=`echo $$line | grep -v "#" | sed 's/ //g'`; \ - \ - if ( test -n "$$build_cfg" ); then \ - build_bootloader=`echo $$build_cfg | cut -d'=' -f1`; \ - build_cfg=`echo $$build_cfg | cut -d'=' -f2-`; \ - \ - build_arch=`echo $$build_cfg | cut -d':' -f1`; \ - build_mcu=`echo $$build_cfg | cut -d':' -f2`; \ - build_board=`echo $$build_cfg | cut -d':' -f3`; \ - build_flashsize=`echo $$build_cfg | cut -d':' -f4`; \ - build_bootsize=`echo $$build_cfg | cut -d':' -f5`; \ - build_fusb=`echo $$build_cfg | cut -d':' -f6`; \ - \ - printf "Found '%s' bootloader configuration (FLASH: %3s KB | BOOT: %3s KB | MCU: %12s / %4s | BOARD: %s | F_USB: %sMHz)\n" $$build_bootloader $$build_flashsize $$build_bootsize $$build_mcu $$build_arch $$build_board $$build_fusb; \ - \ - printf "\t@echo Building bootloader %s - %s - FLASH: %s KB, BOOT: %s KB, BOARD: %s, F_USB: %sMHz\n" $$build_bootloader $$build_mcu $$build_flashsize $$build_bootsize $$build_board $$build_fusb >> BuildMakefile; \ - printf "\t$(MAKE) -C $(patsubst %/,%,$(LUFA_PATH))/../Bootloaders/%s/ clean elf ARCH=%s MCU=%s BOARD=%s FLASH_SIZE_KB=%s BOOT_SECTION_SIZE_KB=%s F_USB=%s000000 DEBUG_LEVEL=0\n\n" $$build_bootloader $$build_arch $$build_mcu $$build_board $$build_flashsize $$build_bootsize $$build_fusb >> BuildMakefile; \ - fi; \ - done < BootloaderDeviceMap.cfg - - $(MAKE) -f BuildMakefile buildtest - -clean: - rm -f BuildMakefile - -%: - -.PHONY: all begin end testbootloaders clean - -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_core.mk |