distro/slugos: Upgrade to use gcc 4.5 and libtool 2.4
authorKhem Raj <raj.khem@gmail.com>
Wed, 5 Jan 2011 17:47:42 +0000 (09:47 -0800)
committerKhem Raj <raj.khem@gmail.com>
Thu, 6 Jan 2011 23:43:42 +0000 (15:43 -0800)
* Depend on sane-toolchain
* Upgrade few old pinned versions
* Inherit own-mirrors to define slug src mirror
* nslu2-mirrors.bbclass is not needed anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
classes/nslu2-mirrors.bbclass [deleted file]
conf/distro/include/preferred-slugos-versions.inc
conf/distro/include/slugos.inc
conf/distro/slugos.conf

diff --git a/classes/nslu2-mirrors.bbclass b/classes/nslu2-mirrors.bbclass
deleted file mode 100644 (file)
index b5ad01a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-MIRRORS_append () {
-ftp://.*/.*    http://sources.nslu2-linux.org/sources/
-https?://.*/.* http://sources.nslu2-linux.org/sources/
-}
index 6ae4432..a92f95f 100644 (file)
@@ -26,38 +26,20 @@ PREFERRED_VERSION_autoconf                  ?= "2.65"
 PREFERRED_VERSION_autoconf-native              ?= "2.65"
 PREFERRED_VERSION_automake                     ?= "1.11.1"
 PREFERRED_VERSION_automake-native              ?= "1.11.1"
-PREFERRED_VERSION_binutils                     ?= "2.20.1"
-PREFERRED_VERSION_binutils-cross               ?= "2.20.1"
-PREFERRED_VERSION_binutils-cross-sdk           ?= "2.20.1"
 PREFERRED_VERSION_busybox                      ?= "1.18.1"
 PREFERRED_VERSION_dbus                         ?= "1.2.3"
-PREFERRED_VERSION_eglibc                       ?= "2.11"
-PREFERRED_VERSION_eglibc-initial               ?= "2.11"
-PREFERRED_VERSION_gcc                          ?= "4.4.4"
-PREFERRED_VERSION_gcc-cross                    ?= "4.4.4"
-PREFERRED_VERSION_gcc-cross-sdk                        ?= "4.4.4"
-PREFERRED_VERSION_gcc-cross-initial            ?= "4.4.4"
-PREFERRED_VERSION_gcc-cross-intermediate       ?= "4.4.4"
-PREFERRED_VERSION_glib-2.0                     ?= "2.22.1"
-PREFERRED_VERSION_glib-2.0-native              ?= "2.22.1"
-PREFERRED_VERSION_glibc                                ?= "2.10.1"
-PREFERRED_VERSION_glibc-initial                        ?= "2.10.1"
+PREFERRED_VERSION_glib-2.0                     ?= "2.26.1"
+PREFERRED_VERSION_glib-2.0-native              ?= "2.26.1"
 PREFERRED_VERSION_gtk+                         ?= "2.18.6"
 PREFERRED_VERSION_gtk+-native                  ?= "2.18.6"
 PREFERRED_VERSION_ipkg                         ?= "0.99.163"
 PREFERRED_VERSION_ipkg-native                  ?= "0.99.163"
-PREFERRED_VERSION_libtool                      ?= "2.2.6b"
-PREFERRED_VERSION_libtool-native               ?= "2.2.6b"
-PREFERRED_VERSION_libtool-cross                        ?= "2.2.6b"
-PREFERRED_VERSION_libtool-sdk                  ?= "2.2.6b"
 PREFERRED_VERSION_linux-libc-headers           ?= "2.6.23"
 PREFERRED_VERSION_m4                           ?= "1.4.14"
 PREFERRED_VERSION_m4-native                    ?= "1.4.14"
 PREFERRED_VERSION_nslu2-linksys-firmware       ?= "2.3r63"
 PREFERRED_VERSION_pkgconfig                    ?= "0.23"
 PREFERRED_VERSION_pkgconfig-native             ?= "0.23"
-PREFERRED_VERSION_uclibc                       ?= "0.9.30.1"
-PREFERRED_VERSION_uclibc-initial               ?= "0.9.30.1"
 PREFERRED_VERSION_udev                         ?= "118"
 
 ##################### Stuff with special notes, and broken stuff:
index bbfd907..2fb6957 100644 (file)
@@ -30,13 +30,10 @@ THUMB_INTERWORK = "yes"
 #    arm system and vice versa.  It is strongly recommended that DISTROs not
 #    turn this off - the actual cost is very small.
 # We want images supporting the following features (for task-base)
-DISTRO_FEATURES = "largefile ipv4 ipv6 nfs smbfs wifi ppp alsa bluetooth ext2 vfat irda pcmcia usbhost pci"
+DISTRO_FEATURES = "largefile ipv4 ipv6 nfs smbfs wifi ppp alsa bluetooth ext2 vfat irda pcmcia usbhost pci eabi"
 # We may also wish to enable raid support at some point (space permitting)
 #DISTRO_FEATURES += " raid"
 
-# Add thumb-interwork to feature list if selected machine supports it.
-DISTRO_FEATURES += ' ${@["", "thumb-interwork"][bb.data.getVar('THUMB_INTERWORK', d, 1) == "yes"]}'
-
 IMAGE_BASENAME = "${@['slugos${SITEINFO_ENDIANNESS}', 'ucslugc'][bb.data.getVar('TARGET_OS', d, 1) == 'linux-uclibc']}"
 
 # The following need not be set, the defaults should be adequate
@@ -111,8 +108,8 @@ DISTRO_EXTRA_DEPENDS ?= ""
 DISTRO_EXTRA_RDEPENDS ?= ""
 DISTRO_EXTRA_RRECOMMENDS ?= ""
 
-CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
-INHERIT += "nslu2-mirrors"
+SOURCE_MIRROR_URL = "http://sources.nslu2-linux.org/sources/"
+INHERIT += "own-mirrors"
 
 #FIXME: HACK: REMOVE THIS
 IGNORE_STRIP_ERRORS = ""
index 5f9c06c..7fb6d1c 100644 (file)
@@ -11,16 +11,11 @@ DISTRO_NAME = "SlugOS"
 DISTRO_TYPE = "alpha"
 TARGET_ARCH ?= "armeb"
 ARM_INSTRUCTION_SET = "arm"
-TARGET_OS = "linux-gnueabi"
 IPKG_VARIANT ?= "opkg-nogpg-nocurl-slugos"
 PREFERRED_PROVIDER_opkg ?= "opkg-nogpg-nocurl-slugos"
 PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg-nogpg-nocurl-slugos"
 IMAGE_INITSCRIPTS ?= "initscripts-slugos"
 
 require conf/distro/include/slugos.inc
-
-# Can be either glibc or eglibc (or perhaps even uclibc)
-LIBC ?= "eglibc"
-require conf/distro/include/${LIBC}.inc
+require conf/distro/include/sane-toolchain.inc
 require conf/distro/include/arm-thumb.inc
-