1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

fix buildtest with oonf_api

Don't try to checkout oonf_api if it's already present
This commit is contained in:
Benjamin Valentin 2014-05-12 16:53:30 +02:00
parent 862e943d55
commit a2dec64b67

View File

@ -25,6 +25,7 @@ $(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME)
$(foreach patch,$(shell ls [0-9][0-9][0-9][0-9]*.patch),cd "$<" && git am "../$(patch)" || { git am --abort; exit 1; };)
$(CURDIR)/$(PKG_NAME):
test -d oonf_api || \
git clone $(PKG_URL) $@ && \
cd $@ && git reset --hard $(PKG_VERSION)