X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fconfig.mk;h=845083f9f90a9d2dcba9baa834ad11961eff0c32;hb=c92af4f13513bdf431f51420660ca5d176fb10bc;hp=a8581d4d45aaee03c414557c86ff8335904160f7;hpb=6bc4dfcaf984da11799932b4fabdf37f49c0cd8d;p=bertos.git diff --git a/bertos/config.mk b/bertos/config.mk index a8581d4d..845083f9 100644 --- a/bertos/config.mk +++ b/bertos/config.mk @@ -11,7 +11,6 @@ # Programmer type # see local pgm_config.mk for programmer customization. -include pgm_config.mk -DPROG ?= -V -c stk500 -P /dev/ttyS0 OPTCFLAGS = -ffunction-sections -fdata-sections #OPTCFLAGS = -funsafe-loop-optimizations @@ -25,9 +24,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 +41,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. @@ -113,3 +111,6 @@ AVRDUDEFLAGS = $(DPROG) # additional libs LIB = -lm + +# Archiver flags +ARFLAGS = rcs