X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fconfig.mk;h=752313a3eecec65ed1f16a9ed64dc102d10bb285;hb=d440f35e8ea75d2f461c79a9f6cfef348ac0bfaf;hp=c6a42a6ad55e9b75f0cf59995e9f53a359bc7deb;hpb=b0f0b3a926d4cb1e8d65b1eca28f37acba9e6016;p=bertos.git diff --git a/bertos/config.mk b/bertos/config.mk index c6a42a6a..752313a3 100644 --- a/bertos/config.mk +++ b/bertos/config.mk @@ -10,8 +10,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 +23,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) @@ -112,3 +110,6 @@ AVRDUDEFLAGS = $(DPROG) # additional libs LIB = -lm + +# Archiver flags +ARFLAGS = rcs