Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
0da0b3f1
Commit
0da0b3f1
authored
10 months ago
by
Marian Buschsieweke
Committed by
Patrycja Rosa
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
community/newlib: clean up APKBUILD
parent
3f82442f
No related branches found
No related tags found
1 merge request
!65648
community/newlib: clean up APKBUILD
Pipeline
#232926
canceled
10 months ago
Stage: verify
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/newlib/APKBUILD
+7
-30
7 additions, 30 deletions
community/newlib/APKBUILD
with
7 additions
and
30 deletions
community/newlib/APKBUILD
+
7
−
30
View file @
0da0b3f1
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname
=
newlib
pkgver
=
4.3.0.20230120
pkgrel
=
3
pkgrel
=
4
pkgdesc
=
"C standard library implementation intended for use on embedded systems"
url
=
"https://www.sourceware.org/newlib/"
makedepends
=
"texinfo"
...
...
@@ -40,8 +40,7 @@ x86_64|aarch64)
esac
for
target
in
$_targets
;
do
targetnorm
=
"
${
target
//-/_
}
"
subpackages
=
"newlib-
$target
:
$targetnorm
$subpackages
"
subpackages
=
"newlib-
$target
:_install_subpkg
$subpackages
"
# here only makedepends. The depends to binutils-$target and gcc-$target
# will be set in the subpkg newlib-$target
makedepends
=
"binutils-
$target
gcc-
$target
$makedepends
"
...
...
@@ -65,7 +64,8 @@ build() {
cd
"
$builddir
/build-
$target
-nano"
export
CFLAGS_FOR_TARGET
=
"-Os -ffunction-sections -fdata-sections -fshort-wchar"
"
$builddir
"
/configure
\
--target
=
$target
\
--host
=
"
$CHOST
"
\
--target
=
"
$target
"
\
--prefix
=
/usr/
\
--infodir
=
/deleteme/info
\
--mandir
=
/deleteme/man
\
...
...
@@ -99,8 +99,8 @@ build() {
cd
"
$builddir
/build-
$target
"
export
CFLAGS_FOR_TARGET
=
"-O2 -ffunction-sections -fdata-sections"
"
$builddir
"
/configure
\
--host
=
$CHOST
\
--target
=
$target
\
--host
=
"
$CHOST
"
\
--target
=
"
$target
"
\
--prefix
=
/usr
\
--infodir
=
/deleteme/info
\
--mandir
=
/deleteme/man
\
...
...
@@ -134,6 +134,7 @@ package() {
}
_install_subpkg
()
{
local
target
target
=
"
${
subpkgname
#newlib-
}
"
pkgdesc
=
"A C standard library implementation intended for
$target
"
depends
=
"binutils-
$target
gcc-
$target
$depends
"
...
...
@@ -162,30 +163,6 @@ _install_subpkg() {
fi
}
arm_none_eabi
()
{
_install_subpkg
}
mips_mti_elf
()
{
_install_subpkg
}
msp430_elf
()
{
_install_subpkg
}
or1k_elf
()
{
_install_subpkg
}
riscv_none_elf
()
{
_install_subpkg
}
aarch64_none_elf
()
{
_install_subpkg
}
sha512sums
=
"
4a06309d36c2255fef8fc8f2d133cafa850f1ed2eddfb27b5d45f5d16af69e0fca829a0b4c9b34af4ed3a28c6fcc929761e0ee823a4229f35c2853d432b5e7ef newlib-4.3.0.20230120.tar.gz
647b79e3cc6f3bb98b1263ebbf4b3efa4a4692fddc0df6491c726de2fa0ee46b05ab2ddf96c2c8c785f3cd6a442135ec97bf8df93a8f371d479ea46d03aa8a08 msp430-elf-nano.specs
...
...
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