[maemo-developers] Thumb and VFP support in Maemo-Builder

From: Andrew Zabolotny zap at homelink.ru
Date: Mon Aug 4 13:02:38 EEST 2008
Hello!

Reading maemo-policy.pdf, page 15 (sorry for the long quote, but it's
important):

<<<The DEB_BUILD_OPTIONS environment variable can be used to control
certain features when building packages. If a package supports a
feature discussed below, it MUST use the given option for controlling
enabling of that feature. Options currently used by the maemo build
infrastructure:

thumb: Whether to enable compilation with the ARM thumb instruction
set [...]

vfp: Whether to enable compilation with the ARM vfp (limited floating
point) instruction set [...] This option is used only when building a
package for a CPU architecture supporting vfp (770 doesn’t, later
devices do).

[... skipping nolauncher option since it's not useful ...]

parallel=N Asks the package to enable GNU Make’s -jN parallel build
option to speed up the package build>>>

Many of the packages I've uploaded to extras-builder so far support
both thumb and parallel= options, and while parallel is just a matter
of compilation speed (and it depends of the hardware builder runs on),
the thumb options is definitely a Good Thing to have, because it makes
the executables smaller by 20-30% in my measurements.

As far as I understand, enabling these DEB_BUILD_OPTION's in the
builder should not affect older packages that do not have support for
thumb and/or vfp. So, maybe it would make sense to enable these
options in maemo builder?

-- 
Greetings,
   Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20080804/937e1431/attachment.pgp 
More information about the maemo-developers mailing list