mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-20 22:39:05 +03:00
examples/lwip/Makefile: fixed lwip branch
This example now uses LwIP release 1.4.1 as the devel branch seems to have disappeared from the git repository. Moreover, we just do a shallow clone so maybe the server does not kick us that often.
This commit is contained in:
1 parent
2cedbd3aeb
commit
6bf7cdcc45
1 file changed
+4
-2
@@ -1,14 +1,16 @@
|
||||
top_srcdir = ../..
|
||||
|
||||
WITH_BRANCH=-b STABLE-1_4_1
|
||||
|
||||
all: server
|
||||
|
||||
lwip:
|
||||
git clone git://git.savannah.nongnu.org/lwip.git -b DEVEL-1_4_1
|
||||
git clone --depth 1 git://git.savannah.nongnu.org/lwip.git $(WITH_BRANCH)
|
||||
curl -L 'https://savannah.nongnu.org/bugs/download.php?file_id=28185' -o lwip/memp.patch
|
||||
cd lwip && patch -p1 < memp.patch
|
||||
|
||||
lwip-contrib:
|
||||
git clone git://git.savannah.nongnu.org/lwip/lwip-contrib.git -b STABLE-1_4_1-RC1
|
||||
git clone --depth 1 git://git.savannah.nongnu.org/lwip/lwip-contrib.git $(WITH_BRANCH)
|
||||
|
||||
# lwip and coap opts (include early to shadow the lwip-contrib/ports/unix/proj/minimal/ file and any ../../config.h)
|
||||
CFLAGS += -DWITH_LWIP -iquote.
|
||||
|
||||
Reference in new issue
Block a user