mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
Updated Makefiles to reflect new "contrib" directory for architecture specific code
This commit is contained in:
parent
bb0194cc0c
commit
b0c1e37364
@ -35,9 +35,10 @@ CFLAGS=-g -Wall -DIPv4 -Os -fpack-struct
|
|||||||
LWIPARCH=unix
|
LWIPARCH=unix
|
||||||
ARFLAGS=rs
|
ARFLAGS=rs
|
||||||
LWIPDIR=../../src
|
LWIPDIR=../../src
|
||||||
|
CONTRIBDIR=../../../contrib
|
||||||
|
|
||||||
CFLAGS:=$(CFLAGS) \
|
CFLAGS:=$(CFLAGS) \
|
||||||
-I$(LWIPDIR)/include -I$(LWIPDIR)/arch/$(LWIPARCH)/include -I$(LWIPDIR)/include/ipv4 \
|
-I$(LWIPDIR)/include -I$(CONTRIBDIR)/ports/$(LWIPARCH)/include -I$(LWIPDIR)/include/ipv4 \
|
||||||
-Iapps -I.
|
-Iapps -I.
|
||||||
|
|
||||||
# COREFILES, CORE4FILES: The minimum set of files needed for lwIP.
|
# COREFILES, CORE4FILES: The minimum set of files needed for lwIP.
|
||||||
|
@ -34,9 +34,10 @@ CC=gcc
|
|||||||
CFLAGS=-g -Wall -fPIC -DIPv4 -DLWIP_DEBUG
|
CFLAGS=-g -Wall -fPIC -DIPv4 -DLWIP_DEBUG
|
||||||
LWIPARCH=unix
|
LWIPARCH=unix
|
||||||
LWIPDIR=../../src
|
LWIPDIR=../../src
|
||||||
|
CONTRIBDIR=../../../contrib
|
||||||
|
|
||||||
CFLAGS:=$(CFLAGS) \
|
CFLAGS:=$(CFLAGS) \
|
||||||
-I$(LWIPDIR)/include -I$(LWIPDIR)/arch/$(LWIPARCH)/include -I$(LWIPDIR)/include/ipv4 \
|
-I$(LWIPDIR)/include -I$(CONTRIBDIR)/ports/$(LWIPARCH)/include -I$(LWIPDIR)/include/ipv4 \
|
||||||
-Iapps -I.
|
-Iapps -I.
|
||||||
|
|
||||||
# COREFILES, CORE4FILES: The minimum set of files needed for lwIP.
|
# COREFILES, CORE4FILES: The minimum set of files needed for lwIP.
|
||||||
|
@ -36,9 +36,10 @@ LDFLAGS=-lpcap
|
|||||||
LWIPARCH=unix
|
LWIPARCH=unix
|
||||||
ARFLAGS=rs
|
ARFLAGS=rs
|
||||||
LWIPDIR=../../src
|
LWIPDIR=../../src
|
||||||
|
CONTRIBDIR=../../../contrib
|
||||||
|
|
||||||
CFLAGS:=$(CFLAGS) \
|
CFLAGS:=$(CFLAGS) \
|
||||||
-I$(LWIPDIR)/include -I$(LWIPDIR)/arch/$(LWIPARCH)/include -I$(LWIPDIR)/include/ipv4 \
|
-I$(LWIPDIR)/include -I$(CONTRIBDIR)/ports/$(LWIPARCH)/include -I$(LWIPDIR)/include/ipv4 \
|
||||||
-Iapps -I.
|
-Iapps -I.
|
||||||
|
|
||||||
# COREFILES, CORE4FILES: The minimum set of files needed for lwIP.
|
# COREFILES, CORE4FILES: The minimum set of files needed for lwIP.
|
||||||
@ -58,7 +59,7 @@ NETIFFILES=$(LWIPDIR)/netif/loopif.c \
|
|||||||
$(LWIPDIR)/netif/etharp.c $(LWIPDIR)/netif/slipif.c
|
$(LWIPDIR)/netif/etharp.c $(LWIPDIR)/netif/slipif.c
|
||||||
|
|
||||||
# ARCHFILES: Archiecture specific files.
|
# ARCHFILES: Archiecture specific files.
|
||||||
ARCHFILES=$(wildcard $(LWIPDIR)/arch/$(LWIPARCH)/*.c $(LWIPDIR)/arch/$(LWIPARCH)/netif/*.c)
|
ARCHFILES=$(wildcard $(CONTRIBDIR)/ports/$(LWIPARCH)/*.c $(CONTRIBDIR)/ports/$(LWIPARCH)/netif/*.c)
|
||||||
|
|
||||||
# APPFILES: Applications.
|
# APPFILES: Applications.
|
||||||
APPFILES=apps/fs.c apps/httpd.c \
|
APPFILES=apps/fs.c apps/httpd.c \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user