aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests/BootloaderTest
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-06-03 20:06:21 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-06-03 20:06:21 +0000
commit60a2147a511e5ed9719d43d2570ba66335745de4 (patch)
treef9994b1507ebf9961dbabacef028601f0e963051 /BuildTests/BootloaderTest
parentc7344c22ac700dacf55a8dc729111dd7781c5fed (diff)
downloadlufa-60a2147a511e5ed9719d43d2570ba66335745de4.tar.gz
lufa-60a2147a511e5ed9719d43d2570ba66335745de4.tar.bz2
lufa-60a2147a511e5ed9719d43d2570ba66335745de4.zip
Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH.
Diffstat (limited to 'BuildTests/BootloaderTest')
-rw-r--r--BuildTests/BootloaderTest/makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/BuildTests/BootloaderTest/makefile b/BuildTests/BootloaderTest/makefile
index 635c5c690..bc59bc46e 100644
--- a/BuildTests/BootloaderTest/makefile
+++ b/BuildTests/BootloaderTest/makefile
@@ -10,8 +10,8 @@
# test attempts to build all the bootloaders
# with all supported device configurations.
-# Path to the root of the LUFA tree to scan
-LUFA_ROOT_PATH = ../..
+# Path to the LUFA library core
+LUFA_PATH = ../../LUFA/
all: begin testbootloaders clean end
@@ -44,7 +44,7 @@ testbootloaders:
printf "Found bootloader configuration for bootloader '%s' (FLASH: %3s KB | BOOT: %3s KB | MCU: %12s / %4s)\n" $$build_bootloader $$build_flashsize $$build_bootsize $$build_mcu $$build_arch; \
\
printf "\t@echo Building bootloader %s - %s - FLASH: %s KB, BOOT: %s KB\n" $$build_bootloader $$build_mcu $$build_flashsize $$build_bootsize >> BuildMakefile; \
- printf "\t$(MAKE) -s -C $(LUFA_ROOT_PATH)/Bootloaders/%s/ clean elf ARCH=%s MCU=%s BOARD=%s FLASH_SIZE_KB=%s BOOT_SECTION_SIZE_KB=%s\n\n" $$build_bootloader $$build_arch $$build_mcu $$build_board $$build_flashsize $$build_bootsize >> BuildMakefile; \
+ printf "\t$(MAKE) -s -C $(patsubst %/,%,$(LUFA_PATH))/../Bootloaders/%s/ clean elf ARCH=%s MCU=%s BOARD=%s FLASH_SIZE_KB=%s BOOT_SECTION_SIZE_KB=%s\n\n" $$build_bootloader $$build_arch $$build_mcu $$build_board $$build_flashsize $$build_bootsize >> BuildMakefile; \
fi; \
done < BootloaderDeviceMap.cfg
@@ -58,4 +58,4 @@ clean:
.PHONY: all begin end testbootloaders clean
# Include LUFA build script makefiles
-include $(LUFA_ROOT_PATH)/LUFA/Build/lufa.core.in
+include $(LUFA_PATH)/Build/lufa.core.in