From 8d2f8e65e01ea07335c3d172866d1ccbd10ebdcc Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 14 Nov 2008 11:27:07 +0100 Subject: angstrom: switch armv4t to thumb as per RFC on angstrom-devel --- conf/distro/include/angstrom.inc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'conf/distro/include') diff --git a/conf/distro/include/angstrom.inc b/conf/distro/include/angstrom.inc index 48cbb49d2c..5d250074c5 100644 --- a/conf/distro/include/angstrom.inc +++ b/conf/distro/include/angstrom.inc @@ -21,6 +21,32 @@ CACHE = "${TMPDIR}/cache/${ANGSTROM_MODE}/${MACHINE}" DEPLOY_DIR = "${TMPDIR}/deploy/${ANGSTROM_MODE}" require conf/distro/include/angstrom-${ANGSTROM_MODE}.inc +# ARM920T and up can use thumb mode to decrease binary size at the expense of speed +# (the complete story is a bit more nuanced due to cache starvation) +# Angstrom turns on thumb for armv4t machine according to this RFC: +# http://lists.linuxtogo.org/pipermail/angstrom-distro-devel/2008-October/002714.html + +# We can't do ARM_INSTRUCTION_SET_armv4t since that will un-overridable in recipes like gcc +ANGSTROM_ARM_INSTRUCTION_SET ?= "arm" +ANGSTROM_ARM_INSTRUCTION_SET_armv4t = "thumb" + +ARM_INSTRUCTION_SET = "${ANGSTROM_ARM_INSTRUCTION_SET}" +# "arm" "thumb" +# The instruction set the compiler should use when generating application +# code. The kernel is always compiled with arm code at present. arm code +# is the original 32 bit ARM instruction set, thumb code is the 16 bit +# encoded RISC sub-set. Thumb code is smaller (maybe 70% of the ARM size) +# but requires more instructions (140% for 70% smaller code) so may be +# slower. + +THUMB_INTERWORK = "yes" +# "yes" "no" +# Whether to compile with code to allow interworking between the two +# instruction sets. This allows thumb code to be executed on a primarily +# arm system and vice versa. It is strongly recommended that DISTROs not +# turn this off - the actual cost is very small. + + #Use this variable in feeds and other parts that need a URI ANGSTROM_URI ?= "http://www.angstrom-distribution.org" -- cgit v1.2.3 From 4c1f12e0815bb39a80ab0ccc3ff7e346b2707d29 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Fri, 14 Nov 2008 16:50:16 +0000 Subject: preferred-xorg-versions-X11R7.4.inc : add comment about mesa version --- conf/distro/include/preferred-xorg-versions-X11R7.4.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/distro/include') diff --git a/conf/distro/include/preferred-xorg-versions-X11R7.4.inc b/conf/distro/include/preferred-xorg-versions-X11R7.4.inc index 548d8239e8..46fa8d496a 100644 --- a/conf/distro/include/preferred-xorg-versions-X11R7.4.inc +++ b/conf/distro/include/preferred-xorg-versions-X11R7.4.inc @@ -191,6 +191,9 @@ PREFERRED_VERSION_libxxf86dga ?= "1.0.2" PREFERRED_VERSION_libxxf86misc ?= "1.0.1" PREFERRED_VERSION_libxxf86vm ?= "1.0.2" PREFERRED_VERSION_xtrans ?= "1.2.1" + +# This should be here but is needed until bitbake can do +# versioned depends PREFERRED_VERSION_mesa ?= "7.2" # proto -- cgit v1.2.3 From 6e06616b067073a4f0a0daeba22b744ae7c6fb7a Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Fri, 14 Nov 2008 16:51:08 +0000 Subject: angstrom-2008-preferred-versions.inc : dont hardcode xserver here --- conf/distro/include/angstrom-2008-preferred-versions.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'conf/distro/include') diff --git a/conf/distro/include/angstrom-2008-preferred-versions.inc b/conf/distro/include/angstrom-2008-preferred-versions.inc index c1dc088ead..e58eb40519 100644 --- a/conf/distro/include/angstrom-2008-preferred-versions.inc +++ b/conf/distro/include/angstrom-2008-preferred-versions.inc @@ -28,4 +28,3 @@ PREFERRED_VERSION_pulseaudio = "0.9.10" PREFERRED_VERSION_tiff = "3.8.2+4.0.0beta2" PREFERRED_VERSION_udev = "124" PREFERRED_VERSION_xserver-kdrive = "1.4.0.90" -PREFERRED_VERSION_xserver-xorg = "1.5.1" -- cgit v1.2.3 From 1e21bb5cfcc5ad62f7338edf3f0e69f020aa5bd4 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Fri, 14 Nov 2008 16:51:34 +0000 Subject: preferred-xorg-versions-X11R7.4-updates.inc : add file to list updates since release version --- conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc (limited to 'conf/distro/include') diff --git a/conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc b/conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc new file mode 100644 index 0000000000..cf999a2a4d --- /dev/null +++ b/conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc @@ -0,0 +1,3 @@ +# This file is for updates after X11R7.4 was released + +PREFERRED_VERSION_xserver-xorg ?= "1.5.3" -- cgit v1.2.3