mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-01 18:37:10 +03:00
examples/contiki/Makefile: use --depth 1 for cloning Contiki
This change avoids cloning the entire Contiki history when building the Contiki server example.
This commit is contained in:
1 parent
a267d3a2b0
commit
68d910f4fe
1 file changed
+1
-1
@@ -4,7 +4,7 @@ TARGET?=minimal-net
|
||||
all: server
|
||||
|
||||
$(CONTIKI):
|
||||
git clone https://github.com/contiki-os/contiki.git $@
|
||||
git clone --depth 1 https://github.com/contiki-os/contiki.git $@
|
||||
cd $(CONTIKI)/apps && ln -s ../../../.. libcoap
|
||||
|
||||
server: $(CONTIKI)
|
||||
|
||||
Reference in new issue
Block a user