Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Freifunk Hochstift
Firmware
Commits
ef127f16
Commit
ef127f16
authored
9 years ago
by
Karsten Böddeker
Browse files
Options
Downloads
Patches
Plain Diff
remove faketime due to some issues
see also issue
#30
parent
8e456afa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+6
-6
6 additions, 6 deletions
build.sh
with
6 additions
and
6 deletions
build.sh
+
6
−
6
View file @
ef127f16
...
...
@@ -180,27 +180,27 @@ for target in ${TARGETS} ; do
# prepare build environment for our current target
progress
"Preparing build environment for target
${
target
}
."
[
"
${
DIRCLEAN
}
"
-eq
"0"
]
&&
make clean
make
-j
${
MAKEJOBS
}
prepare-target
${
MAKE_PARAM
}
make
-j
${
MAKEJOBS
}
prepare-target
${
MAKE_PARAM
}
[
"
$?
"
-eq
"0"
]
||
abort
"Unable to build environment for target-platform
${
target
}
."
# need to have a toolchain for the particular target
progress
"Building toolchain for target
${
target
}
."
make
-j
${
MAKEJOBS
}
toolchain/install
${
MAKE_PARAM
}
make
-j
${
MAKEJOBS
}
toolchain/install
${
MAKE_PARAM
}
[
"
$?
"
-eq
"0"
]
||
abort
"Unable to build toolchain for target-platform
${
target
}
."
# now we can start building the images for the target platform
progress
"Building FFHO-flavoured Gluon firmware for target
${
target
}
. You'd better go and fetch some c0ffee!"
eval
"
${
gluon_build_env_vars
}
faketime
\"
${
BUILD_TS
}
\"
make -j
${
MAKEJOBS
}
prepare
${
MAKE_PARAM
}
"
eval
"
${
gluon_build_env_vars
}
make -j
${
MAKEJOBS
}
prepare
${
MAKE_PARAM
}
"
[
"
$?
"
-eq
"0"
]
||
abort
"Failed to build firmware for target-platform
${
target
}
."
# finally compile the firmware binaries
progress
"Compiling binary firmware images."
faketime
"
${
BUILD_TS
}
"
make
-j
${
MAKEJOBS
}
images
${
MAKE_PARAM
}
make
-j
${
MAKEJOBS
}
images
${
MAKE_PARAM
}
[
"
$?
"
-eq
"0"
]
||
abort
"Failed to assemble images for target-platform
${
target
}
."
# compile the modules
progress
"Compiling modules."
eval
"
${
gluon_build_env_vars
}
faketime
\"
${
BUILD_TS
}
\"
make -j
${
MAKEJOBS
}
modules
${
MAKE_PARAM
}
"
eval
"
${
gluon_build_env_vars
}
make -j
${
MAKEJOBS
}
modules
${
MAKE_PARAM
}
"
[
"
$?
"
-eq
"0"
]
||
abort
"Failed to build modules for target-platform
${
target
}
."
done
...
...
@@ -225,7 +225,7 @@ popd > /dev/null #${MODULE_DIR}
# generate and copy manifests
progress
"Generating and copying manifest ..."
pushd
${
CODE_DIR
}
>
/dev/null
GLUON_PRIORITY
=
${
PRIORITY
}
GLUON_BRANCH
=
${
BRANCH
}
faketime
"
${
BUILD_TS
}
"
make manifest
GLUON_PRIORITY
=
${
PRIORITY
}
GLUON_BRANCH
=
${
BRANCH
}
make manifest
[
"
$?
"
-eq
"0"
]
||
abort
"Failed to generate the manifest, try running 'make manifest' in '
$CODE_DIR
' directory manually."
cp
"
${
CODE_DIR
}
/output/images/sysupgrade/
${
BRANCH
}
.manifest"
"
${
OUTPUT_DIR
}
/
${
BRANCH
}
/"
popd
>
/dev/null
#${CODE_DIR}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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