From 122b7986416622dbddeb71fdbc41aa93b5f7bbab Mon Sep 17 00:00:00 2001 From: David Vrabel Date: Wed, 30 Jan 2013 02:38:37 -0800 Subject: mini-os: build fixes for lwip 1.3.2 Various fixes to mini-os needed to build lwip 1.3.2: - Don't build the tests. - Add BSD-style endianness macros to endian.h. - free() is called via a function pointer so it needs to be a real function. Do the same for malloc() and realloc(). Signed-off-by: David Vrabel Acked-by: Samuel Thibault Committed-by: Keir Fraser --- extras/mini-os/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/mini-os/Makefile') diff --git a/extras/mini-os/Makefile b/extras/mini-os/Makefile index 2302a2316d..50d038b8a5 100644 --- a/extras/mini-os/Makefile +++ b/extras/mini-os/Makefile @@ -136,7 +136,7 @@ arch_lib: ifeq ($(CONFIG_LWIP),y) # lwIP library -LWC := $(shell find $(LWIPDIR)/ -type f -name '*.c') +LWC := $(shell find $(LWIPDIR)/src -type f -name '*.c') LWC := $(filter-out %6.c %ip6_addr.c %ethernetif.c, $(LWC)) LWO := $(patsubst %.c,%.o,$(LWC)) LWO += $(OBJ_DIR)/lwip-arch.o -- cgit v1.2.3