Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
White Rabbit Switch - Software
Commits
48ce6b02
Commit
48ce6b02
authored
Mar 19, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace: add spll_dbg_proxy to build procedure
parent
af2cf2e3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
+16
-11
.gitignore
userspace/.gitignore
+1
-0
Makefile
userspace/Makefile
+2
-2
Makefile
userspace/spll_dbg_proxy/Makefile
+13
-9
No files found.
userspace/.gitignore
View file @
48ce6b02
wrsw_hal/wrsw_hal
wrsw_rtud/wrsw_rtud
spll_dbg_proxy/spll_dbg_proxy
userspace/Makefile
View file @
48ce6b02
...
...
@@ -13,8 +13,8 @@ WR_INSTALL_ROOT ?= $(WRS_OUTPUT_DIR)/images/wr
WRDEV_DIR
?=
$(WRS_BASE_DIR)
/..
# subdirectories we want to compile
SUBDIRS
=
libswitchhw wrsw_hal wrsw_rtud
# SUBDIRS +=
spll_dbg_proxy
wrsw_rtud wr_mon rtu_stat
SUBDIRS
=
libswitchhw wrsw_hal wrsw_rtud
spll_dbg_proxy
# SUBDIRS += wrsw_rtud wr_mon rtu_stat
# all variables are exported
export
...
...
userspace/spll_dbg_proxy/Makefile
View file @
48ce6b02
...
...
@@ -6,25 +6,29 @@ OBJS = spll_dbg_proxy.o
BINARY
=
spll_dbg_proxy
# We must include stuff from wr_ipc, which is installed.
# If this is buil
d
under build scripts, it's $WRS_OUTPUT_DIR/images/wr
# If this is buil
t
under build scripts, it's $WRS_OUTPUT_DIR/images/wr
WR_INSTALL_ROOT
?=
/usr/lib/white-rabbit
WR_INCLUDE
=
$(WR_INSTALL_ROOT)
/include
WR_LIB
=
$(WR_INSTALL_ROOT)
/lib
CFLAGS
=
-g
-Wall
-DDEBUG
\
-I
.
-I
../../../ptp-noposix-v3/libwripc
-I
../include
-I
../3rdparty/include
-I
$(WR_INCLUDE)
CFLAGS
=
-g
-Wall
-DDEBUG
-I
../include
-I
$(WR_INCLUDE)
LDFLAGS
=
-L
$(WR_INSTALL_ROOT)
/lib
-L
../3rdparty/lib
-L
$(WR_LIB)
\
-L
../../../ptp-noposix-v3
-L
../libswitchhw
\
-lwripc
-llua
-lm
-ldl
-lswitchhw
LDFLAGS
=
-L
$(WR_LIB)
-L
../libswitchhw
-llua
-lm
-ldl
-lswitchhw
all
:
$(BINARY)
$(BINARY)
:
$(OBJS)
$(CC)
-o
$@
$^
$(LDFLAGS)
clean
:
rm
-f
$(BINARY)
$(OBJS)
install
:
install
-d
$(WR_INSTALL_ROOT)
/bin
install
$(BINARY)
$(WR_INSTALL_ROOT)
/bin
# deprecated: internal stuff.
scp
:
all
scp
$(BINARY)
root@pts-test03:/tftpboot/192.168.1.2/root
clean
:
rm
-f
$(BINARY)
$(OBJS)
\ No newline at end of file
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