Add LINKER_RELAXATIONS option to the LUFA BUILD build system module.
[pub/USBasp.git] / BuildTests / StaticAnalysisTest / makefile
index a2626ec..abac69e 100644 (file)
@@ -14,12 +14,15 @@ LUFA_PATH := ../../LUFA/
 CPPCHECK_EXCLUDES := FATFs/            \
                      PetiteFATFs/      \
                      uip/
 CPPCHECK_EXCLUDES := FATFs/            \
                      PetiteFATFs/      \
                      uip/
+
 CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/               \
                      $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
 
 CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/               \
                      $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
 
+CPPCHECK_FLAGS    := -U TEMPLATE_FUNC_NAME
+
 SRC               := $(patsubst %/,%,$(LUFA_PATH))/..
 
 SRC               := $(patsubst %/,%,$(LUFA_PATH))/..
 
-all: begin cppcheck-config cppcheck end
+all: begin cppcheck end
 
 begin:
        @echo Executing build test "StaticAnalysisTest".
 
 begin:
        @echo Executing build test "StaticAnalysisTest".
@@ -35,5 +38,5 @@ end:
 .PHONY: all begin end
 
 # Include LUFA build script makefiles
 .PHONY: all begin end
 
 # Include LUFA build script makefiles
-include $(LUFA_PATH)/Build/lufa.core.in
-include $(LUFA_PATH)/Build/lufa.cppcheck.in
\ No newline at end of file
+include $(LUFA_PATH)/Build/lufa_core.mk
+include $(LUFA_PATH)/Build/lufa_cppcheck.mk
\ No newline at end of file