Skip to content

Commit

Permalink
makefiles/suit: replace GNU cp -t with UNIX cp
Browse files Browse the repository at this point in the history
UNIX `cp` command does not have the `-t` option like its GNU variant.
Hence, it usage breaks building RIOT e.g. on FreeBSD.
  • Loading branch information
smlng committed Dec 5, 2019
1 parent 80d86b4 commit f08fba1
Showing 1 changed file with 1 addition and 1 deletion.
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 f08fba1

Please sign in to comment.