cross-arm-linux-gnueabihf: target armv6 with vfp by default.

This commit is contained in:
Juan RP 2013-07-09 18:52:05 +02:00
parent cd78fdb53c
commit 47864ead4b

View file

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