mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
abort on error when patching oonf_api
This commit is contained in:
parent
4dfce522df
commit
633f65c062
@ -22,7 +22,7 @@ all: patch
|
||||
patch: $(CURDIR)/$(PKG_NAME)/Makefile
|
||||
|
||||
$(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME)
|
||||
$(foreach patch,$(shell ls [0-9][0-9][0-9][0-9]*.patch),cd "$<" && git am "../$(patch)";)
|
||||
$(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):
|
||||
git clone $(PKG_URL) $@ && \
|
||||
|
Loading…
Reference in New Issue
Block a user