Fix "grep: Version.h: No such file or directory" error when including the core LUFA...
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 12 Mar 2013 16:53:16 +0000 (16:53 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 12 Mar 2013 16:53:16 +0000 (16:53 +0000)
LUFA/makefile

index 5461111..edb602f 100644 (file)
@@ -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