Re: shared memory problem on armel
- To: peter green <plugwash@p10link.net>
- Cc: Mike Thompson <mpthompson@gmail.com>, Ben Hutchings <ben@decadent.org.uk>, debian-arm@lists.debian.org, martinwguy <martinwguy@gmail.com>, 679449@bugs.debian.org, libipc-sharelite-perl@packages.debian.org, Niko Tyni <ntyni@debian.org>
- Subject: Re: shared memory problem on armel
- From: gregor herrmann <gregoa@debian.org>
- Date: Fri, 8 Feb 2013 00:15:37 +0100
- Message-id: <[🔎] 20130207231537.GX8313@jadzia.comodo.priv.at>
- Mail-followup-to: peter green <plugwash@p10link.net>, Mike Thompson <mpthompson@gmail.com>, Ben Hutchings <ben@decadent.org.uk>, debian-arm@lists.debian.org, martinwguy <martinwguy@gmail.com>, 679449@bugs.debian.org, libipc-sharelite-perl@packages.debian.org, Niko Tyni <ntyni@debian.org>
- In-reply-to: <[🔎] 51142128.1030004@p10link.net>
- References: <1340946348.4852.10.camel@deadeye.wl.decadent.org.uk> <[🔎] 1360214098.5374.42.camel@deadeye.wl.decadent.org.uk> <[🔎] CAL4-wQo-kSOt-qAGhzFE6Vk80AxRLW+KhMYi6EK3aKKQutvphw@mail.gmail.com> <[🔎] 20130207181038.GU13292@decadent.org.uk> <[🔎] CAEOSq-NX4J9s4+advR2zMY0r9YF5TDW7bediWSAo5tz051+HJQ@mail.gmail.com> <[🔎] 20130207202704.GP8313@jadzia.comodo.priv.at> <[🔎] 51142128.1030004@p10link.net>
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
Attachment:
signature.asc
Description: Digital signature
Reply to: