New package: cross-arm-none-eabi-newlib-3.1.0.20181231
This commit is contained in:
parent
0c4fa0b92a
commit
4d925693b7
1 changed files with 28 additions and 0 deletions
28
srcpkgs/cross-arm-none-eabi-newlib/template
Normal file
28
srcpkgs/cross-arm-none-eabi-newlib/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'cross-${_triplet}-${_pkgname}'
|
||||||
|
_triplet=arm-none-eabi
|
||||||
|
_pkgname=newlib
|
||||||
|
pkgname=cross-${_triplet}-${_pkgname}
|
||||||
|
version=3.1.0.20181231
|
||||||
|
revision=1
|
||||||
|
wrksrc="${_pkgname}-${version}"
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="
|
||||||
|
--disable-newlib-supplied-syscalls
|
||||||
|
--disable-nls
|
||||||
|
--enable-interwork
|
||||||
|
--enable-newlib-io-long-long
|
||||||
|
--enable-newlib-register-fini
|
||||||
|
--host=${XBPS_CROSS_TRIPLET}
|
||||||
|
--prefix=/usr
|
||||||
|
--target=${_triplet}
|
||||||
|
--with-gnu-as
|
||||||
|
--with-gnu-ld
|
||||||
|
"
|
||||||
|
hostmakedepends="cross-arm-none-eabi-binutils cross-arm-none-eabi-gcc"
|
||||||
|
short_desc="C library intended for use on embedded systems"
|
||||||
|
maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://www.sourceware.org/${_pkgname}/"
|
||||||
|
distfiles="ftp://sources.redhat.com/pub/${_pkgname}/${_pkgname}-${version}.tar.gz"
|
||||||
|
checksum=9e12fea7297648b114434033ed4458755afe7b9b6c7d58123389e82bd37681c0
|
||||||
|
nostrip=yes
|
Loading…
Reference in a new issue