Commit 17eb37f9 authored by Benoit Rat's avatar Benoit Rat

tools: adding scp target in order to upload binaries to quicly test them

parent 43921594
......@@ -13,6 +13,9 @@ TOOLS += wrs_throttling
PPSI_CONFIG = ../ppsi/include/generated/autoconf.h
WR_INSTALL_ROOT ?= /usr/lib/white-rabbit
SCP ?= scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
SCP_DEV ?= root@wrsdev
SCP_TARGET ?= /wr
# # Standard stanza for cross-compilation (courtesy of the linux makefile)
......@@ -79,5 +82,8 @@ install: all
install -d $(WR_INSTALL_ROOT)/bin
install $(TOOLS) $(WR_INSTALL_ROOT)/bin
scp: all
$(SCP) $(TOOLS) $(SCP_DEV):$(SCP_TARGET)/bin/
mkpasswd: mkpasswd.o utils.o
${CC} -o $@ $^ $(LDFLAGS) -lcrypt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment