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:
Olaf Bergmann committed 2016-06-10 15:10:02 +02:00
1 parent a267d3a2b0
commit 68d910f4fe
1 file changed
+1 -1
+1 -1
View File
@@ -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)