1
0
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:
cladmi 2018-09-14 14:54:37 +02:00
parent 33f8a49b5b
commit e082ee6766
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -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