X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=config.mk;h=452801741dd668aeb3f14f68cf2f3289db729058;hb=33d48af0258dd55e1d2b51a4ae2f87401dcb00e9;hp=64e916220861a37579401ef1f7cbcc628601eff2;hpb=6b00d99e7252806a923bace30179f1e6994be90f;p=bertos.git diff --git a/config.mk b/config.mk index 64e91622..45280174 100644 --- a/config.mk +++ b/config.mk @@ -3,13 +3,8 @@ # Copyright 2002,2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/) # All rights reserved. # -# Based on: -# GCC-AVR standard Makefile part 1 -# Volker Oth 1/2000 -# # Author: Bernardo Innocenti -# -# $Log$ +# Based on: GCC-AVR standard Makefile part 1, Volker Oth 1/2000 # # @@ -35,14 +30,13 @@ DEBUGCFLAGS = -ggdb # # define some variables based on the AVR base path in $(AVR) # -#CROSS = avr- -CC = gcc -CXX = g++ +CROSS = avr- +CC = $(CROSS)gcc +CXX = $(CROSS)g++ AS = $(CC) -x assembler-with-cpp LD = $(CC) -LDXX = $(CXX) -OBJCOPY = objcopy -STRIP = strip +OBJCOPY = $(CROSS)objcopy +STRIP = $(CROSS)strip INSTALL = cp -a RM = rm -f RM_R = rm -rf @@ -89,7 +83,7 @@ endif WARNFLAGS = \ -W -Wformat -Wall -Wundef -Wpointer-arith -Wcast-qual \ -Wcast-align -Wwrite-strings -Wsign-compare \ - -Wmissing-noreturn \ + -Wmissing-prototypes -Wmissing-noreturn \ -Wextra -Wstrict-aliasing=2 \ # -Wunsafe-loop-optimizations