Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projects
White Rabbit Switch - Software
Commits
380cbdc5
Commit
380cbdc5
authored
10 years ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
userspace/libwr: fix makefiles in other components depending on libwr
parent
9bf5a483
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
userspace/Makefile
+1
-1
1 addition, 1 deletion
userspace/Makefile
userspace/tools/Makefile
+3
-4
3 additions, 4 deletions
userspace/tools/Makefile
userspace/wrsw_hal/Makefile
+2
-2
2 additions, 2 deletions
userspace/wrsw_hal/Makefile
userspace/wrsw_rtud/Makefile
+3
-3
3 additions, 3 deletions
userspace/wrsw_rtud/Makefile
with
9 additions
and
10 deletions
userspace/Makefile
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
userspace/tools/Makefile
+
3
−
4
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
-lswitchh
w
-lsdbfs
-llua
-lm
-ldl
-lminipc
-lw
r
-lsdbfs
-llua
-lm
-ldl
all
:
$(TOOLS)
...
...
This diff is collapsed.
Click to expand it.
userspace/wrsw_hal/Makefile
+
2
−
2
View file @
380cbdc5
...
...
@@ -18,8 +18,8 @@ ifdef WRS_HAL_DEBUG
CFLAGS
+=
-DDEBUG
endif
LDFLAGS
=
-L
../lib
switchh
w
-L
../mini-rpc
\
-lminipc
-llua
-lm
-ldl
-l
switchh
w
LDFLAGS
=
-L
../libw
r
-L
../mini-rpc
\
-lminipc
-llua
-lm
-ldl
-lw
r
all
:
$(BINARY)
...
...
This diff is collapsed.
Click to expand it.
userspace/wrsw_rtud/Makefile
+
3
−
3
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
../libswitchh
w
-L
../mini-rpc
\
-l
switchhw
-lptpnetif
-lpthread
-lminipc
LDFLAGS
:=
-L
../libw
r
-L
../mini-rpc
\
-l
wr
-lpthread
-lminipc
RM
:=
rm
-f
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment