aboutsummaryrefslogtreecommitdiffstats
path: root/conf/distro/ucslugc.conf
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-12 15:09:06 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-12 15:09:06 +0000
commit3b2885c674f6b2ae61d5c88243dccc07bd90762b (patch)
treed379670e887a11b05042a77dc39c2e40a40a1f4e /conf/distro/ucslugc.conf
parentf14bde879adabd525505ba8a12998dd715af9016 (diff)
downloadopenembedded-3b2885c674f6b2ae61d5c88243dccc07bd90762b.tar.gz
nslu2.conf: change to the IPKG_ARCHS to include the correct architectures
(armv*b for all armv* suppported by the xscale processor). The old 'generic' armeb is still suppported (of course) and, by default, this is the ARCH of the generated packages - this is technically wrong, the packages are actually armv5teb - but changing this would make the feeds non-functional for existing systems.
Diffstat (limited to 'conf/distro/ucslugc.conf')
-rw-r--r--conf/distro/ucslugc.conf42
1 files changed, 12 insertions, 30 deletions
diff --git a/conf/distro/ucslugc.conf b/conf/distro/ucslugc.conf
index bb383b8a66..0376eadd00 100644
--- a/conf/distro/ucslugc.conf
+++ b/conf/distro/ucslugc.conf
@@ -6,25 +6,29 @@
# STANDARD UcSlugC DEFINITIONS
#----------------------------------------------------------------------------------
DISTRO_NAME = "UcSlugC"
-DISTRO_VERSION = "1-beta"
+DISTRO_VERSION = "1.1-beta"
DISTRO_TYPE ?= "beta"
TARGET_FPU = "soft"
TARGET_OS = "linux-uclibc"
+# Select thumb-interwork and (TBD) thumb
+ARM_INTERWORK = ":thumb-interwork"
+#ARM_INSTRUCTION_SET = ":thumb"
+
USE_NLS ?= "no"
USE_NLS_glib-2.0 = "yes"
INHERIT += " package_ipk debian nslu2_flashimg"
# The OVERRIDES are modified here so that 'openslug' overrides are picked up if
-# present (ucslugc overrides take precedence), 'thumb' is used to factor out
-# things where a pack assumes that an arm target implies 32 bit instruction
-# support with no attention to thumb/arm mode (it indicates a bug if it is
-# necessary to use this).
-#NSLU2_THUMB_OVERRIDE = ":thumb"
-NSLU2_THUMB_OVERRIDE = ""
-OVERRIDES = "local:${MACHINE}:${DISTRO}:openslug:${TARGET_OS}${NSLU2_THUMB_OVERRIDE}:${TARGET_ARCH}:build-${BUILD_OS}"
+# present (ucslugc overrides take precedence).
+NSLU2_BASE_DISTRO = ":openslug"
+
+# We are building packages which are armvteb (big endian) for arm or thumbv5tb for
+# thumb instructions. The PACKAGE_ARCH should reflect this because generated code
+# requires that instruction set support.
+PACKAGE_ARCH = "${NSLU2_PACKAGE_ARCH}"
# NOTE: to build new packages set UCSLUGC_EXTRA_BBFILES to the full path name to
# the .bb files for the packages to build - see ucslugc-packages.conf in this
@@ -51,28 +55,6 @@ FEED_URIS_append += "native##http://ipkg.nslu2-linux.org/feeds/ucslugc/native/${
#FEED_URIS_append += "unstable_native##http://ipkg.nslu2-linux.org/feeds/ucslugc/native/unstable"
#----------------------------------------------------------------------------------
-# OVERALL BUILD OPTIONS
-#----------------------------------------------------------------------------------
-#
-# TARGET_CC_ARCH is used to provide architecture specific definitions to the C
-# compiler. For target compilation it is part of "CC" - not part of "CFLAGS" -
-# in the hope that individual package builds will therefore not circumvent it
-# (this doesn't always work, but it is more reliable than a simple setting of
-# CFLAGS values).
-#
-# For UcSlugC the architecture value used is based on the standard NSLU2 value,
-# however it selects both thumb interwork and thumb code generation to minimise
-# build size. The distro allows the choice of thumb or arm code to be overridden
-# on a per-package basis by setting NSLU2_THUMB (to empty) in the package .bb file.
-# See also the 'override' above.
-#NSLU2_THUMB = "-mthumb"
-NSLU2_THUMB = ""
-TARGET_CC_ARCH = "-march=armv5te -mtune=xscale -mthumb-interwork ${NSLU2_THUMB}"
-TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale -mno-thumb-interwork -mno-thumb"
-TARGET_LD_ARCH = ""
-TARGET_LD_KERNEL_ARCH = ""
-
-#----------------------------------------------------------------------------------
# FIRMWARE CONFIGURATION
#----------------------------------------------------------------------------------
# IMAGE BUILD OPTIONS