Skip to content
Snippets Groups Projects
Unverified Commit e082ee67 authored by cladmi's avatar cladmi
Browse files

Makefile.include: add a target name in usepkg build target

Explicit the target name so the stem can be extracted.
parent 33f8a49b
No related branches found
No related tags found
No related merge requests found
......@@ -475,9 +475,9 @@ endif
pkg-prepare:
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i prepare ; done
$(USEPKG:%=$(BINDIR)/%.a): $(BUILDDEPS) FORCE
$(USEPKG:%=$(BINDIR)/%.a): $(BINDIR)/%.a: $(BUILDDEPS) FORCE
@mkdir -p $(BINDIR)
$(QQ)"$(MAKE)" -C $(RIOTPKG)/$(patsubst $(BINDIR)/%.a,%,$@)
$(QQ)"$(MAKE)" -C $(RIOTPKG)/$*
clean:
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i clean ; done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment