This commit causes thumb build for everything in ucslugc-packages except
these packages and libgcc (from gcc). libgcc and uclibc still need some
work, the other packages reveal compiler bugs (monotone), source bugs
(alsa) or missing configuration (thumb arch support in util-linux) and so
are disabled for the moment.
# Select thumb-interwork and (TBD) thumb
ARM_INTERWORK = ":thumb-interwork"
-#ARM_INSTRUCTION_SET = ":thumb"
+ARM_INSTRUCTION_SET = ":thumb"
USE_NLS ?= "no"
USE_NLS_glib-2.0 = "yes"
LICENSE = "GPL"
PR = "r1"
+# configure.in sets -D__arm__ on the command line for any arm system
+# (not just those with the ARM instruction set), this should be removed,
+# (or replaced by a permitted #define).
+#FIXME: remove the following
+ARM_INSTRUCTION_SET = ""
+
SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2"
inherit autotools pkgconfig
+# Release 0.22 reveals bugs in g++ for thumb (g++ generates
+# relocations which the linker cannot represent)
+#FIXME: remove the following
+ARM_INSTRUCTION_SET = ""
+
include monotone.inc
PR = "r0"
DEFAULT_PREFERENCE = "1"
-PR = "r1"
+PR = "r2"
include uclibc.inc
S = "${WORKDIR}/uClibc-${PV}"
+# At present the thumb implementation is non-functional
+ARM_INSTRUCTION_SET = ""
+
#*** PATCHES ***
#
# The nokernelheadercheck patch removes the check on the include
+# fdisk gets a #error unknown architecture when compiling for ARM thumb
+#FIXME: remove this
+ARM_INSTRUCTION_SET = ""
+
include util-linux.inc
PR = "r2"