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
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
abuild
Commits
21fb14d4
Commit
21fb14d4
authored
Jul 29, 2013
by
Timo Teräs
Committed by
Natanael Copa
Jul 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: only update config.sub if needed
its only arm that needs it
parent
e150a251
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
abuild.in
abuild.in
+3
-5
No files found.
abuild.in
View file @
21fb14d4
...
...
@@ -573,16 +573,14 @@ mkusers() {
# helper to update config.sub to a recent version
update_config_sub
()
{
local
myver
=
$(
"
$datadir
"
/config.sub
-t
|
tr
-d
'-'
)
local
changed
=
false
find
.
-name
config.sub |
while
read
f
;
do
local
ver
=
$(
./
"
$f
"
-t
|
tr
-d
'-'
)
if
[
"
$myver
"
-gt
"
$ver
"
]
;
then
msg
"Updating
$f
(
$myver
>
$ver
)"
if
!
./
$f
armv6-alpine-linux-muslgnueabihf 2>/dev/null
;
then
msg
"Updating
$f
"
cp
"
$datadir
"
/
${
f
##*/
}
"
$f
"
||
return
1
changed
=
true
else
msg
"Not
updating newer
$f
"
msg
"Not
new enough
$f
"
fi
# pipe subshell will return status of last command
$changed
...
...
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