mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.include: add a target name in usepkg build target
Explicit the target name so the stem can be extracted.
This commit is contained in:
parent
33f8a49b5b
commit
e082ee6766
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user