Skip to content

Commit

Permalink
Merge pull request RIOT-OS#12875 from smlng/pr_freebsd_cp
Browse files Browse the repository at this point in the history
make: replace GNU `cp -t` with standard `cp`
  • Loading branch information
leandrolanzieri authored Dec 5, 2019
2 parents 1d223b5 + f08fba1 commit cf6a0b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dist/tools/kconfiglib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ PKG_BUILDDIR=$(CURDIR)/bin
.PHONY: all

all: git-download
cp -t . $(PKG_BUILDDIR)/kconfiglib.py $(PKG_BUILDDIR)/menuconfig.py \
$(PKG_BUILDDIR)/genconfig.py $(PKG_BUILDDIR)/examples/merge_config.py
cp $(PKG_BUILDDIR)/kconfiglib.py $(PKG_BUILDDIR)/menuconfig.py \
$(PKG_BUILDDIR)/genconfig.py $(PKG_BUILDDIR)/examples/merge_config.py \
.

include $(RIOTBASE)/pkg/pkg.mk
2 changes: 1 addition & 1 deletion makefiles/suit.v4.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ suit/manifest: $(SUIT_MANIFESTS)

suit/publish: $(SUIT_MANIFESTS) $(SLOT0_RIOT_BIN) $(SLOT1_RIOT_BIN)
@mkdir -p $(SUIT_COAP_FSROOT)/$(SUIT_COAP_BASEPATH)
@cp -t $(SUIT_COAP_FSROOT)/$(SUIT_COAP_BASEPATH) $^
@cp $^ $(SUIT_COAP_FSROOT)/$(SUIT_COAP_BASEPATH)
@for file in $^; do \
echo "published \"$$file\""; \
echo " as \"$(SUIT_COAP_ROOT)/$$(basename $$file)\""; \
Expand Down

0 comments on commit cf6a0b4

Please sign in to comment.