aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-03-12 16:53:16 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-03-12 16:53:16 +0000
commit9e8bf8c0cfba6613d10a90b0ce76bdbbc9a72c8b (patch)
treee2763a50cfee95248569a4f235ab62c4b23b2453 /LUFA/makefile
parentcc8b12f1cb657e1a08483e7796cb062339a66290 (diff)
downloadlufa-9e8bf8c0cfba6613d10a90b0ce76bdbbc9a72c8b.tar.gz
lufa-9e8bf8c0cfba6613d10a90b0ce76bdbbc9a72c8b.tar.bz2
lufa-9e8bf8c0cfba6613d10a90b0ce76bdbbc9a72c8b.zip
Fix "grep: Version.h: No such file or directory" error when including the core LUFA library makefile in a legacy makefile.
Diffstat (limited to 'LUFA/makefile')
-rw-r--r--LUFA/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/makefile b/LUFA/makefile
index 5461111ae..edb602f88 100644
--- a/LUFA/makefile
+++ b/LUFA/makefile
@@ -9,7 +9,7 @@
# Makefile for the LUFA library itself.
# ---------------------------------------
-LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2)
+LUFA_VERSION_NUM = $(shell grep $(LUFA_PATH)/LUFA_VERSION_STRING Version.h | cut -d'"' -f2)
EXCLUDE_FROM_EXPORT := Documentation DoxygenPages CodeTemplates Build StudioIntegration *.conf *.tar *.o *.d *.lss *.lst *.hex *.elf *.hex *.eep *.map *.bin
# Default target - no default action when attempting to build the core directly