Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
9c717f90
Commit
9c717f90
authored
Mar 19, 2021
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add deployment logic
parent
f1ac6a8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
Makefile
libertm/Makefile
+5
-2
deploy.mk
libertm/deploy.mk
+12
-0
No files found.
libertm/Makefile
View file @
9c717f90
...
...
@@ -11,9 +11,10 @@ WRC_INCLUDES = ../include
CFLAGS
+=
-I
$(ERTM_UART_LOCATION)
-I
$(ERTM_BOARD_LOCATION)
CFLAGS
+=
-I
$(WRC_INCLUDES)
all
:
libs main
LIBS
=
$(TARGET)
.a
$(TARGET)
.so libertm_display.so
libs
:
$(TARGET).a $(TARGET).so libertm_display.so
all
:
libs main
libs
:
$(LIBS)
$(TARGET).a $(TARGET).so
:
$(TARGET).o linux-uart-link.o common-uart-link.o
$(TARGET).so
:
...
...
@@ -38,3 +39,5 @@ libertm_display.so: display.o
clean
:
rm
-f
*
.o
*
.a
*
.so
rm
-f
serial ertm-serial main
include
deploy.mk
libertm/deploy.mk
0 → 100644
View file @
9c717f90
VERSION = 1.0.0
DEPLOY_TARGET ?= /acc/local/L867/drv/ertm/$(VERSION)
TOOLS = ../tools/uart-bootloader/usb-bootloader.py ertm-cli
deploy: $(LIBS) libertm.h $(TOOLS) ../wrc.bin ertm-setup
mkdir -p $(DEPLOY_TARGET)/lib $(DEPLOY_TARGET)/include \
$(DEPLOY_TARGET)/tools $(DEPLOY_TARGET)/bin
install -b ../wrc.bin $(LIBS) -C $(DEPLOY_TARGET)/lib
install -b libertm.h -C $(DEPLOY_TARGET)/include
install -b $(TOOLS) -C $(DEPLOY_TARGET)/tools
(cd $(DEPLOY_TARGET)/bin ; ln -sf ../tools/* .)
install -b ertm-setup -C $(DEPLOY_TARGET)/bin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment