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
87
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
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
Projects
White Rabbit Switch - Software
Commits
5fa86d98
Commit
5fa86d98
authored
13 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
build: added wrs_build_modules
parent
ee1e9df2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/scripts/wrs_build_modules
+25
-0
25 additions, 0 deletions
build/scripts/wrs_build_modules
build/wrs_build-all
+1
-1
1 addition, 1 deletion
build/wrs_build-all
with
26 additions
and
1 deletion
build/scripts/wrs_build_modules
0 → 100755
+
25
−
0
View file @
5fa86d98
#!/bin/bash
# check variables, like all scripts herein do
WRS_SCRIPT_NAME
=
$(
basename
$0
)
if
[
-z
"
$WRS_BASE_DIR
"
]
;
then
echo
"
$0
: Plesae set WRS_BASE_DIR"
>
& 2
exit
1
fi
.
${
WRS_BASE_DIR
}
/scripts/wrs_functions
wrs_check_vars WRS_OUTPUT_DIR WRS_DOWNLOAD_DIR WRS_WR_REPOSITORY CROSS_COMPILE
wrs_echo
"--- Kernel modules from this package"
mkdir
-p
$WRS_OUTPUT_DIR
/build
||
wrs_die
"mkdir build"
mkdir
-p
$WRS_OUTPUT_DIR
/images
||
wrs_die
"mkdir images"
# check that the kernel has been compiled (or at least configured)
export
LINUX
=
"
$WRS_OUTPUT_DIR
/build/linux-2.6.35"
test
-f
$LINUX
/.config
||
wrs_die
"no kernel in
$LINUX
"
cd
$WRS_BASE_DIR
/../kernel
make
$WRS_MAKE_J
||
wrs_die
"white rabbit kernel modules"
mkdir
-p
$WRS_OUTPUT_DIR
/images
cp
$(
find
.
-name
\*
.ko
)
$WRS_OUTPUT_DIR
/images
This diff is collapsed.
Click to expand it.
build/wrs_build-all
+
1
−
1
View file @
5fa86d98
...
...
@@ -76,7 +76,7 @@ wrs_default_compiler
wrs_build_step 01-at91boot wrs_build_at91boot
wrs_build_step 02-u-boot wrs_build_u-boot
wrs_build_step 03-kernel wrs_build_kernel
#
wrs_build_step 04-modules wrs_build_modules
wrs_build_step
04-modules wrs_build_modules
#wrs_build_step 05-wrs-tools wrs_build_tools
#wrs_build_step 06-wrs-addon wrs_build_addon
#wrs_build_step 07-wrap-rootfs wrs_build_finalrootfs
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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