cross-arm-linux-gnueabihf: target armv6 with vfp by default.
This commit is contained in:
parent
cd78fdb53c
commit
47864ead4b
1 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ _fpuflags="--with-float=hard"
|
|||
_archflags="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||
|
||||
pkgname=cross-${_triplet}
|
||||
version=0.11
|
||||
version=0.12
|
||||
revision=1
|
||||
short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)"
|
||||
maintainer="pancake <pancake@nopcode.org>"
|
||||
|
@ -112,7 +112,7 @@ _gcc_bootstrap() {
|
|||
--disable-decimal-float --disable-libgomp --disable-libmudflap \
|
||||
--disable-libssp --disable-threads --enable-languages=c \
|
||||
--disable-sjlj-exceptions --disable-multilib \
|
||||
--with-gnu-ld --with-gnu-as ${_fpuflags}
|
||||
--with-gnu-ld --with-gnu-as ${_archflags}
|
||||
|
||||
make ${makejobs}
|
||||
make install
|
||||
|
@ -203,7 +203,7 @@ _gcc_build() {
|
|||
--disable-nls --disable-sjlj-exceptions \
|
||||
--enable-threads=posix --enable-long-longx \
|
||||
--enable-shared --enable-linker-build-id \
|
||||
--enable-gnu-unique-object ${_fpuflags}
|
||||
--enable-gnu-unique-object ${_archflags}
|
||||
|
||||
make ${makejobs}
|
||||
|
||||
|
@ -291,7 +291,7 @@ do_clean() {
|
|||
|
||||
# Packages
|
||||
cross-arm-linux-gnueabihf-libc_package() {
|
||||
short_desc+=" -- glibc files"
|
||||
short_desc+=" - glibc files"
|
||||
noarch=yes
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
|
@ -308,6 +308,6 @@ cross-arm-linux-gnueabihf_package() {
|
|||
depends="${pkgname}-libc-${version}_${revision}"
|
||||
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue