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
380cbdc5
Commit
380cbdc5
authored
Oct 15, 2014
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/libwr: fix makefiles in other components depending on libwr
parent
9bf5a483
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
Makefile
userspace/Makefile
+1
-1
Makefile
userspace/tools/Makefile
+3
-4
Makefile
userspace/wrsw_hal/Makefile
+2
-2
Makefile
userspace/wrsw_rtud/Makefile
+3
-3
No files found.
userspace/Makefile
View file @
380cbdc5
...
...
@@ -12,7 +12,7 @@ WR_INSTALL_ROOT ?= $(WRS_OUTPUT_DIR)/images/wr
WRDEV_DIR
?=
$(WRS_BASE_DIR)
/..
# subdirectories we want to compile
SUBDIRS
=
lib
ptpnetif mini-rpc libswitchhw
libsdb
\
SUBDIRS
=
lib
wr mini-rpc
libsdb
\
wrsw_hal wrsw_rtud tools snmpd
# all variables are exported
...
...
userspace/tools/Makefile
View file @
380cbdc5
...
...
@@ -25,7 +25,7 @@ GIT_USR = $(shell git config --get-all user.name)
CFLAGS
=
-O2
-g
-Wall
\
-I
$(LINUX)
/include
\
-I
$(LINUX)
/arch/arm/mach-at91/include
\
-I
../lib
ptpnetif
\
-I
../lib
wr
\
-I
../wrsw_hal
\
-I
../wrsw_rtud
\
-I
../mini-rpc
\
...
...
@@ -37,10 +37,9 @@ ifdef WRS_TOOLS_DEBUG
endif
LDFLAGS
=
-L
../mini-rpc
\
-L
../libptpnetif
\
-L
../libswitchhw
\
-L
../libwr
\
-L
../libsdb
\
-lminipc
-l
ptpnetif
-lswitchhw
-lsdbfs
-llua
-lm
-ldl
-lminipc
-l
wr
-lsdbfs
-llua
-lm
-ldl
all
:
$(TOOLS)
...
...
userspace/wrsw_hal/Makefile
View file @
380cbdc5
...
...
@@ -18,8 +18,8 @@ ifdef WRS_HAL_DEBUG
CFLAGS
+=
-DDEBUG
endif
LDFLAGS
=
-L
../lib
switchhw
-L
../mini-rpc
\
-lminipc
-llua
-lm
-ldl
-l
switchhw
LDFLAGS
=
-L
../lib
wr
-L
../mini-rpc
\
-lminipc
-llua
-lm
-ldl
-l
wr
all
:
$(BINARY)
...
...
userspace/wrsw_rtud/Makefile
View file @
380cbdc5
...
...
@@ -13,7 +13,7 @@ WR_INCLUDE = $(WR_INSTALL_ROOT)/include
WR_LIB
=
$(WR_INSTALL_ROOT)
/lib
CFLAGS
=
-O2
-Wall
-ggdb
\
-I
../lib
ptpnetif
-I
../wrsw_hal
\
-I
../lib
wr
-I
../wrsw_hal
\
-I
../mini-rpc
-I
../include
-I
$(WR_INCLUDE)
-I
$(LINUX)
/include
# -I$(CROSS_COMPILE_ARM_PATH)/../include
...
...
@@ -22,8 +22,8 @@ ifdef WRS_RTUD_DEBUG
endif
LDFLAGS
:=
-L
../lib
ptpnetif
-L
../libswitchhw
-L
../mini-rpc
\
-l
switchhw
-lptpnetif
-lpthread
-lminipc
LDFLAGS
:=
-L
../lib
wr
-L
../mini-rpc
\
-l
wr
-lpthread
-lminipc
RM
:=
rm
-f
...
...
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