[maemo-developers] maemo-release

From: Anderson Lizardo anderson.lizardo at openbossa.org
Date: Tue Nov 10 15:30:28 EET 2009
On Tue, Nov 10, 2009 at 9:16 AM, Frantisek Dufka <dufkaf at seznam.cz> wrote:
> But still it could be useful to set different compiler flags for arm
> (vfp, thumb mode) [...]

For that I think the standard way is to use dpkg-architecture in
debian/rules, e.g.:

HOST = $(shell dpkg-architecture -qDEB_HOST_ARCH)

ifeq ($(HOST),armel)
        # some ARM specific commands go here

> [...] or workaround some stuff not available in stratchbox
> environment.

I see some packages checking for scratchbox environment by looking for
presence of "/targets/links/scratchbox.config". This file is only
available when you are inside a scratchbox target.

Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
More information about the maemo-developers mailing list