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
84
Issues
84
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
af2cf2e3
Commit
af2cf2e3
authored
Mar 19, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/Makefile: use SUBDIRS in loops
parent
b4116018
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
19 deletions
+7
-19
Makefile
userspace/Makefile
+7
-19
No files found.
userspace/Makefile
View file @
af2cf2e3
...
...
@@ -12,31 +12,19 @@ CROSS_COMPILE_ARM ?= $(CROSS_COMPILE)
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
# all variables are exported
export
# All targets must install as well, as later builds use headers/libs
all
:
$(MAKE)
-C
libswitchhw all
install
$(MAKE)
-C
wrsw_hal all
install
$(MAKE)
-C
wrsw_rtud all
# $(MAKE) -C tests/rtu_stat TARGET=ARM all
for
d
in
$(SUBDIRS)
;
do
$(MAKE)
-C
$$
d
$@
||
exit
1
;
done
clean
:
$(MAKE)
-C
libswitchhw clean
$(MAKE)
-C
wrsw_hal clean
$(MAKE)
-C
wrsw_rtud clean
# $(MAKE) -C tests/wr_mon clean
# $(MAKE) -C tests/rtu_stat clean
for
d
in
$(SUBDIRS)
;
do
$(MAKE)
-C
$$
d
$@
||
exit
1
;
done
install
:
all
$(MAKE)
-C
libswitchhw
install
$(MAKE)
-C
wrsw_hal
install
$(MAKE)
-C
wrsw_rtud
install
# $(MAKE) -C tests/rtu_stat TARGET=ARM deploy
# ./rubi-repos/deploy.sh $(WR_INSTALL_ROOT)
#rootfs: install
# mkdir -p $(WR_INSTALL_ROOT)/firmware
# cp $(WRDEV_DIR)/hdl/bin/*.bin $(WR_INSTALL_ROOT)/firmware
# ../scripts/build_rootfs.sh
for
d
in
$(SUBDIRS)
;
do
$(MAKE)
-C
$$
d
$@
||
exit
1
;
done
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