From f08fba15638f4549cc43b437ce977b5efbffb7ea Mon Sep 17 00:00:00 2001 From: Sebastian Meiling Date: Thu, 5 Dec 2019 09:13:20 +0100 Subject: [PATCH] makefiles/suit: replace GNU cp -t with UNIX cp UNIX `cp` command does not have the `-t` option like its GNU variant. Hence, it usage breaks building RIOT e.g. on FreeBSD. --- makefiles/suit.v4.inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/suit.v4.inc.mk b/makefiles/suit.v4.inc.mk index fd3780f504..90be7c8d91 100644 --- a/makefiles/suit.v4.inc.mk +++ b/makefiles/suit.v4.inc.mk @@ -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)\""; \