Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr-switch-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
white-rabbit
wr-switch-sw
Commits
41cf7503
Commit
41cf7503
authored
May 19, 2011
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build kernel: add u-boot/tools to PATH if mkimage not found
parent
5a12038d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
wrs_build_kernel
build/scripts/wrs_build_kernel
+6
-0
No files found.
build/scripts/wrs_build_kernel
View file @
41cf7503
...
...
@@ -44,6 +44,12 @@ fi
cp
$CFG
.config
export
ARCH
=
arm
make oldconfig
||
wrs_die
"kernel config"
# add mkimage in the path, in case it is not there
if
!
type
-p
mkimage
>
/dev/null
;
then
wrs_echo
"No mkimage: adding u-boot tools directory to PATH"
export
PATH
=
${
WRS_OUTPUT_DIR
}
/build/u-boot-1.3.4/tools:
$PATH
fi
# now proceed as usual
make
$WRS_MAKE_J
uImage modules
||
wrs_die
"kernel compilation"
cp arch
/
$ARCH
/boot/uImage
$(
find
.
-name
'*.ko'
)
$WRS_OUTPUT_DIR
/images
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