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
d4a83f29
Commit
d4a83f29
authored
Jun 30, 2011
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
on-switch-tests/Makefile: new file, compiles libs and wr_mon
parent
be6d9869
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
Makefile
on-switch-tests/Makefile
+39
-0
No files found.
on-switch-tests/Makefile
0 → 100644
View file @
d4a83f29
# This Makefile is based on wr-swithc-sw/userspace
# Most of the sub makefiles require some variables that used to be
# in the auto-generated ../Makedefs (when software was in svn).
# So let's add all of the needed variables here (environment can override)
LINUX
?=
$(WRDEV_DIR)
/software/rubi-repos/linux-wr
ARCH
?=
arm
CROSS_COMPILE
?=
$(CROSS_COMPILE_ARM_PATH)$(CROSS_COMPILE_ARM_PREFIX)
CROSS_COMPILE_ARM
?=
$(CROSS_COMPILE)
# Installation of all of this stuff goes to images/wr in the output dir
WR_INSTALL_ROOT
?=
$(WRS_OUTPUT_DIR)
/images/wr
WRDEV_DIR
?=
$(WRS_BASE_DIR)
/..
# test directories need libs, so add them here (libswitchhw is in ./userspace)
CFLAGS
=
-I
../libs
-I
../libs/libwripc
-I
../libs/libptpnetif
\
-I
../../userspace/libswitchhw
\
-I
../../userspace/wrsw_hal
LDFLAGS
=
-L
../libs
-lwripc
-lptpnetif
\
-L
../../userspace/libswitchhw
-lswitchhw
# all variables are exported
export
# All targets must install as well, as later builds use headers/libs
all
:
$(MAKE)
-C
libs all
$(MAKE)
-C
wr_mon all
clean
:
$(MAKE)
-C
libs clean
$(MAKE)
-C
wr_mon clean
install
:
all
$(MAKE)
-C
libs
install
$(MAKE)
-C
wr_mon
install
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