X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fconfig.mk;h=9a62e2fd40f1079b00adc03dd86839e98f0b20f1;hb=ba2ba183c492049aface3e3d4e1d5f945b43f3d6;hp=8151259453ee29f69d42013215b84ec84be2b1cc;hpb=22e903f490208fcc6f6de86250c723b1f200a61d;p=bertos.git diff --git a/bertos/config.mk b/bertos/config.mk index 81512594..9a62e2fd 100644 --- a/bertos/config.mk +++ b/bertos/config.mk @@ -3,7 +3,7 @@ # Copyright 2002,2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/) # All rights reserved. # -# Author: Bernardo Innocenti +# Author: Bernie Innocenti # Based on: GCC-AVR standard Makefile part 1, Volker Oth 1/2000 # @@ -25,9 +25,9 @@ DEBUGCFLAGS = -ggdb # # define some variables based on the AVR base path in $(AVR) # -#CROSS = avr- CC = gcc CXX = g++ +AR = ar AS = $(CC) -x assembler-with-cpp LD = $(CC) LDXX = $(CXX) @@ -42,7 +42,6 @@ SHELL = /bin/sh CHECKER = sparse DOXYGEN = doxygen AVRDUDE = avrdude -MOC = moc-qt4 FLEXCAT = $(top_srcdir)/tools/flexcat/flexcat # For conversion from ELF to COFF for use in debugging / simulating in AVR Studio or VMLAB. @@ -66,7 +65,7 @@ FORMAT = srec DEP_FLAGS = -MMD -MP # Compiler flags for generating source listings -LIST_FLAGS = -Wa,-anhlmsd=$(@:.o=.lst) +LIST_FLAGS = -Wa,-anhlmsd=$(@:.o=.lst) -dp # Linker flags for generating map files # Only in embedded related projects generate map files @@ -113,3 +112,6 @@ AVRDUDEFLAGS = $(DPROG) # additional libs LIB = -lm + +# Archiver flags +ARFLAGS = rcs