shared memory problem on armel
gregor herrmann
gregoa at debian.org
Thu Feb 7 23:15:37 UTC 2013
On Thu, 07 Feb 2013 21:48:24 +0000, peter green wrote:
> >Can this test be expressed in some easy terms to be used in
> >debian/rules?
> DEB_HOST_GNU_TYPE ?=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
> ARM_VERSION_NUMBER :=$(shell $(DEB_HOST_GNU_TYPE)-cpp -dM /dev/null | grep -Po '(?<=__ARM_ARCH_)[0-9]+(?=[a-zA-Z]*_
> ARMV7PLUS :=$(shell expr $(ARM_VERSION_NUMBER) \>= 7)
>
> all:
> echo $(ARM_VERSION_NUMBER)
> echo $(ARMV7PLUS)
> ifeq "$(ARMV7PLUS)" "1"
> echo armv7 or above
> else
> echo armv6 or below
> endif
Thank you!
Unfortunately the second line line (/^ARM_VERSION_NUMBER/) looks a
bit cut off. If you have an extended version please share it :)
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: B.B. King and Eric Clapton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130208/31b3728e/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list