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
b874a4c8
Commit
b874a4c8
authored
Aug 12, 2016
by
Carlo Landmeter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: add update_config_guess
parent
4f7a4556
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1537 additions
and
29 deletions
+1537
-29
Makefile
Makefile
+1
-1
abuild.in
abuild.in
+17
-0
config.guess
config.guess
+1456
-0
config.sub
config.sub
+63
-28
No files found.
Makefile
View file @
b874a4c8
...
...
@@ -13,7 +13,7 @@ SCRIPTS := abuild abuild-keygen abuild-sign newapkbuild \
USR_BIN_FILES
:=
$(SCRIPTS)
abuild-tar abuild-sudo abuild-fetch
SAMPLES
:=
sample.APKBUILD sample.initd sample.confd
\
sample.pre-install sample.post-install
AUTOTOOLS_TOOLCHAIN_FILES
:=
config.sub
AUTOTOOLS_TOOLCHAIN_FILES
:=
config.sub
config.guess
SCRIPT_SOURCES
:=
$(
addsuffix
.in,
$(SCRIPTS)
)
...
...
abuild.in
View file @
b874a4c8
...
...
@@ -521,6 +521,23 @@ update_config_sub() {
return
$?
}
#
helper
to
update
config
.
guess
to
a
recent
version
update_config_guess
()
{
local
changed
=
false
find
.
-
name
config
.
guess
|
while
read
f
;
do
if
grep
-
q
aarch64
"$f"
;
then
msg
"No update needed for $f"
else
msg
"Updating $f"
cp
"$datadir"
/${
f
##*/}
"$f"
||
return
1
changed
=
true
fi
#
pipe
subshell
will
return
status
of
last
command
$
changed
done
return
$?
}
runpart
()
{
local
part
=$
1
[
-
n
"$DEBUG"
]
&&
msg
"$part"
...
...
config.guess
0 → 100644
View file @
b874a4c8
This diff is collapsed.
Click to expand it.
config.sub
100755 → 100644
View file @
b874a4c8
This diff is collapsed.
Click to expand it.
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