Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp firmware cooker
Commits
854c63d3
Commit
854c63d3
authored
Aug 28, 2017
by
Marcos Gutierrez
Committed by
Roger Pueyo Centelles
Oct 27, 2017
Browse files
Fix output path on single package build
Close #22
parent
d51b5464
Changes
1
Hide whitespace changes
Inline
Side-by-side
cooker
View file @
854c63d3
...
...
@@ -233,8 +233,9 @@ build_pkg() {
echo
"-> Building package
$pkg
on sdk
$sdk
"
make
-j
$J
V
=
$V
-C
$sdk
package/
$pkg
/
{
clean,compile,install
}
&&
{
echo
"-> Build of
$pkg
successful"
local
pkg_file
=
$(
find
$sdk
/bin/packages
-type
f
-name
"
${
pkg
}
*.ipk"
)
cp
-f
$pkg_file
$output_dir
/
local
pkg_path
=
$(
find
$sdk
/bin/packages
-type
f
-name
"
${
pkg
}
*.ipk"
)
local
pkg_file
=
$(
echo
$pkg_path
|
awk
-F
/
'{print $NF}'
)
cp
-f
$pkg_path
$output_dir
/
echo
"-> You can find it on
$output_dir
/
$pkg_file
"
}
||
echo
"-> Build error, see full output using V=s J=1 ./cooker <options>"
}
...
...
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