Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyra-docker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
imagebuild
pyra-docker
Commits
c7d7772f
Commit
c7d7772f
authored
Sep 26, 2019
by
Nick Elsmore
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to make build system
parent
9495f615
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
docker-entrypoint.sh
docker-entrypoint.sh
+9
-10
No files found.
docker-entrypoint.sh
View file @
c7d7772f
...
...
@@ -18,7 +18,10 @@ print_usage() {
echo
"Commands:"
echo
" sync-current Sync all repositories to their current branches"
echo
" sync-manifest Sync all repositories to master"
echo
" build Run PyraOS build script (see script for arguments"
echo
" build Run PyraOS build script"
echo
" bootloader"
echo
" linux"
echo
" rootfs"
echo
" build-all [2gb|4gb] Build PyraOS for 2gb or 4gb HW"
echo
" bash Configure environment and start bash shell"
}
...
...
@@ -33,15 +36,10 @@ sync_to_manifest() {
repo
sync
-d
}
build
()
{
./build.sh
$1
$2
}
build_all
()
{
./build.sh uboot
$1
./build.sh kernel
./build.sh rootfs
./build.sh image
PYRA_DDR
=
$1
make bootloader
make linux
make rootfs
}
main
()
{
...
...
@@ -57,7 +55,8 @@ main() {
;;
build
)
build
$2
$3
[[
!
-z
$3
]]
&&
export
PYRA_DDR
=
$3
make
$2
;;
build-all
)
...
...
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