X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=config.mk;h=452801741dd668aeb3f14f68cf2f3289db729058;hb=33d48af0258dd55e1d2b51a4ae2f87401dcb00e9;hp=5ace0dbdf4c0f90ac29b5b1553ecadb5ca9090d4;hpb=3d99acee09d6ea368be717347d0f887dae83b8d7;p=bertos.git diff --git a/config.mk b/config.mk index 5ace0dbd..45280174 100644 --- a/config.mk +++ b/config.mk @@ -30,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 @@ -84,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