mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #895 from benpicco/oonf_fix
make: don't ignore failures in for loops, fix build with make 4.0 and minor cleanups
This commit is contained in:
commit
872ce5fee3
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -20,18 +20,13 @@ all: patch
|
||||
make $(BINDIR)$(MODULE).a
|
||||
|
||||
patch: $(CURDIR)/$(PKG_NAME)/Makefile
|
||||
# Dependancy might be changed accordingly though we think the Makefile
|
||||
# will be the first thing you want to change
|
||||
#
|
||||
# Here might not happen anything besides dependancy checks
|
||||
|
||||
$(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME)
|
||||
# Here you apply your patch.
|
||||
$(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)/:
|
||||
$(CURDIR)/$(PKG_NAME):
|
||||
git clone $(PKG_URL) $@ && \
|
||||
cd $@ && git checkout $(PKG_VERSION)
|
||||
cd $@ && git reset --hard $(PKG_VERSION)
|
||||
|
||||
clean::
|
||||
# Reset package to checkout state.
|
||||
|
Loading…
Reference in New Issue
Block a user