X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fconfig.mk;h=38a8a5d75e63c6860c458b0233ed32af8a10f6a7;hb=54fcc3ee93f64797c9ad129fc7a22672f43f6582;hp=1c5cb56897caf81eb9736cbaf0c705d54167ad01;hpb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;p=bertos.git diff --git a/bertos/config.mk b/bertos/config.mk index 1c5cb568..38a8a5d7 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) @@ -42,7 +40,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. @@ -53,7 +50,7 @@ COFFCONVERT=$(OBJCOPY) \ --change-section-address .noinit-0x800000 \ --change-section-address .eeprom-0x810000 -INCDIR = -I. -Ibertos +INCDIR = -I. -Ibertos -Ibertos/net/lwip/src/include -Ibertos/net/lwip/src/include/ipv4 LIBDIR = lib OBJDIR = obj OUTDIR = images @@ -66,7 +63,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 +110,6 @@ AVRDUDEFLAGS = $(DPROG) # additional libs LIB = -lm + +# Archiver flags +ARFLAGS = rcs