Add lwIP include directories to the BeRTOS include path.
[bertos.git] / bertos / config.mk
index c6a42a6ad55e9b75f0cf59995e9f53a359bc7deb..38a8a5d75e63c6860c458b0233ed32af8a10f6a7 100644 (file)
@@ -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)
@@ -52,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
@@ -112,3 +110,6 @@ AVRDUDEFLAGS = $(DPROG)
 
 # additional libs
 LIB = -lm
+
+# Archiver flags
+ARFLAGS = rcs