Commit 3982aea4 authored by Benoit Rat's avatar Benoit Rat Committed by Adam Wujek

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

parent 350479ff
......@@ -18,6 +18,9 @@ TOOLS += utc_leap_test
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)
......@@ -92,5 +95,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