diff options
Diffstat (limited to 'conf/distro')
-rw-r--r-- | conf/distro/include/preferred-om-2008-versions.inc | 1 | ||||
-rw-r--r-- | conf/distro/include/preferred-slugos-versions.inc | 6 | ||||
-rw-r--r-- | conf/distro/include/sane-srcrevs.inc | 2 | ||||
-rw-r--r-- | conf/distro/include/slugos.inc | 2 | ||||
-rw-r--r-- | conf/distro/micro-uclibc.conf | 43 | ||||
-rw-r--r-- | conf/distro/micro.conf | 100 | ||||
-rw-r--r-- | conf/distro/unslung.conf | 88 |
7 files changed, 145 insertions, 97 deletions
diff --git a/conf/distro/include/preferred-om-2008-versions.inc b/conf/distro/include/preferred-om-2008-versions.inc index e3e21872b7..8c5c4f7cb0 100644 --- a/conf/distro/include/preferred-om-2008-versions.inc +++ b/conf/distro/include/preferred-om-2008-versions.inc @@ -712,7 +712,6 @@ PREFERRED_VERSION_inkscape ?= "0.43" PREFERRED_VERSION_inkwp ?= "0.1.1" PREFERRED_VERSION_inotify-tools ?= "2.1" PREFERRED_VERSION_inputproto ?= "1.4.4" -PREFERRED_VERSION_install-native ?= "0.1" PREFERRED_VERSION_insttrain ?= "1.0.5" PREFERRED_VERSION_interbench ?= "0.30" PREFERRED_VERSION_intercom ?= "0.15" diff --git a/conf/distro/include/preferred-slugos-versions.inc b/conf/distro/include/preferred-slugos-versions.inc index 8c8de40f9d..992235a4b9 100644 --- a/conf/distro/include/preferred-slugos-versions.inc +++ b/conf/distro/include/preferred-slugos-versions.inc @@ -71,9 +71,3 @@ PREFERRED_VERSION_libusb ?= "0.0.0" # boost 1.36 won't build PREFERRED_VERSION_boost ?= "1.33.1" - -# We don't really care which openssl and openssl-native we get, but -# the DEFAULT_PREFERENCE set in the recipes is such that if we don't -# specify explicitly, we may get mismatched versions. -PREFERRED_VERSION_openssl ?= "0.9.8j" -PREFERRED_VERSION_openssl-native ?= "0.9.8j" diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index af768c33da..8962174814 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -252,7 +252,7 @@ SRCREV_pn-webkit-gtk ?= "42127" SRCREV_pn-wlan-ng-modules ?= "1859" SRCREV_pn-wlan-ng-utils ?= "1859" SRCREV_pn-wmiconfig ?= "4522" -SRCREV_pn-xf86-video-glamo ?= "8062d7aa7bac7e06c1a00bd88ca78098550606ed" +SRCREV_pn-xf86-video-glamo ?= "16a993d8b17ef623a21b003f6f08adb86c76de77" SRCREV_pn-xoo ?= "1971" SRCREV_pn-xserver-kdrive-glamo ?= "9b28d998424c77fbc057dd3a022ccbb122793a52" SRCREV_pn-zhone ?= "f38cc52fbf11f7fe945797a6b8ade29ed479d924" diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc index b141548ce3..51ca9f34b1 100644 --- a/conf/distro/include/slugos.inc +++ b/conf/distro/include/slugos.inc @@ -81,7 +81,7 @@ FEED_URIS_append += "native##http://ipkg.nslu2-linux.org/feeds/${IMAGE_BASENAME} # to enable/disable debugging in the distro. Here noirqdebug is used to # remove the messages about unhandled interrupts - people debugging interrupt # issues in the kernel need to cancel this (set CMDLINE_DEBUG empty in local.conf) -CMDLINE_ROOT = "root=/dev/mtdblock4 rootfstype=jffs2 rw init=/linuxrc" +CMDLINE_ROOT = "root=/dev/mtdblock4 rootfstype=jffs2 rootflags=noatime rw init=/linuxrc" CMDLINE_DEBUG = "noirqdebug" # EXTRA PACKAGES diff --git a/conf/distro/micro-uclibc.conf b/conf/distro/micro-uclibc.conf new file mode 100644 index 0000000000..82b78cbf79 --- /dev/null +++ b/conf/distro/micro-uclibc.conf @@ -0,0 +1,43 @@ +############################################################################# +#@TYPE: Distribution +#@NAME: Micro uclibc +#@DESCRIPTION: Micro Linux Distribution (uclibc based) +#@MAINTAINER: Martin Lund <mgl@doredevelopment.dk> +#@COMMENT: This distribution configuration defines a Micro Linux distribution +#@COMMENT: based on uclibc. +############################################################################# + +# Based on the Micro Linux distribution +require conf/distro/micro.conf + +############################################################################# +# DISTRO CONFIGURATION +############################################################################# +DISTRO_NAME = "micro-uclibc" + +############################################################################# +# TARGET OS +############################################################################# +# Use linux uclibc +TARGET_OS = "linux-uclibc" + +############################################################################# +# TOOLCHAIN +############################################################################# +PREFERRED_LIBC = "uclibc" + +############################################################################# +# PREFERRED PROVIDERS +############################################################################# +PREFERRED_PROVIDER_virtual/libc = "uclibc" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "uclibc" +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross" +PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers" +PREFERRED_PROVIDER_virtual/libintl = "proxy-libintl" + +############################################################################# +# PREFERRED VERSIONS +############################################################################# +PREFERRED_VERSION_uclibc = "0.9.30.1" +PREFERRED_VERSION_uclibc-initial = "0.9.30.1" + diff --git a/conf/distro/micro.conf b/conf/distro/micro.conf new file mode 100644 index 0000000000..bf4e5e1a82 --- /dev/null +++ b/conf/distro/micro.conf @@ -0,0 +1,100 @@ +############################################################################# +#@TYPE: Distribution +#@NAME: Micro +#@DESCRIPTION: Micro Linux Distribution (glibc based) +#@MAINTAINER: Martin Lund <mgl@doredevelopment.dk> +#@COMMENT: This distribution configuration defines a truely tiny OE Linux +#@COMMENT: distribution. The matching buildable image target (micro-image) +#@COMMENT: basically consists of: libc, busybox, udev, sysv init, and a few +#@COMMENT: init scripts for running up the system. +############################################################################# + +############################################################################# +# DISTRO CONFIGURATION +############################################################################# +DISTRO_NAME = "micro" +DISTRO_VERSION = "${SRCDATE}" + +############################################################################# +# TARGET OS +############################################################################# +# Linux +TARGET_OS = "linux" + +############################################################################# +# DISTRO FEATURE SELECTION +############################################################################# +# No features selected +DISTRO_FEATURES = "" + +############################################################################# +# LIBRARY NAMES +############################################################################# +# Use Debian naming scheme for library (.so) files +INHERIT += "debian" + +############################################################################# +# PACKAGING & FEEDS +############################################################################# +# Select packaging system +PREFERRED_PKG_FORMAT = "ipk" +IPKG_VARIANT = "opkg-nogpg" + +require conf/distro/include/sane-feed.inc +require conf/distro/include/sane-feed-${PREFERRED_PKG_FORMAT}.inc + +############################################################################# +# IMAGES +############################################################################# +# Name generated images +IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${PREFERRED_LIBC}-\ +${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}" + +CACHE ?= "${TMPDIR}/cache/${PREFERRED_LIBC}/${MACHINE}" +DEPLOY_DIR ?= "${TMPDIR}/deploy/${PREFERRED_LIBC}" +DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" + +# Image output types +IMAGE_FSTYPES ?= "tar.gz jffs2" + +############################################################################# +# LINUX KERNEL SELECTION +############################################################################# +KERNEL = "kernel26" +MACHINE_KERNEL_VERSION = "2.6" + +############################################################################# +# TOOLCHAIN +############################################################################# +PREFERRED_LIBC = "glibc" +require conf/distro/include/sane-toolchain.inc + +############################################################################# +# OVERRIDES adjusted from bitbake.conf to feature the MACHINE_CLASS +############################################################################# +OVERRIDES = "local:${MACHINE}:${MACHINE_CLASS}:${DISTRO}:${TARGET_OS}:\ +${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" + +############################################################################# +# PREFERRED PROVIDERS +############################################################################# +PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap" +PREFERRED_PROVIDER_virtual/libintl = "glibc" + +############################################################################# +# PREFERRED VERSIONS +############################################################################# +require conf/distro/include/sane-srcdates.inc +require conf/distro/include/sane-srcrevs.inc + +############################################################################# +# NLS +############################################################################# +USE_NLS = "no" +USE_NLS_glib-2.0 = "yes" +USE_NLS_glib-2.0-native = "yes" +USE_NLS_gcc-cross = "no" + +# Disable binary locale generation +ENABLE_BINARY_LOCALE_GENERATION = "0" + diff --git a/conf/distro/unslung.conf b/conf/distro/unslung.conf deleted file mode 100644 index 5cb162524f..0000000000 --- a/conf/distro/unslung.conf +++ /dev/null @@ -1,88 +0,0 @@ -#@TYPE: Distribution -#@NAME: Unslung -#@DESCRIPTION: Unslung Linux Distribution for the NSLU2 - -DISTRO_NAME = "Unslung" -DISTRO_VERSION = "6.11-beta" -DISTRO_TYPE = "beta" - -FEED_URIS = "cross##http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable" -FEED_URIS += "native##http://ipkg.nslu2-linux.org/feeds/optware/nslu2/native/stable" -FEED_URIS += "oe##http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/stable" - -TARGET_FPU = "soft" -TARGET_OS = "linux" - -# select distro specific options to match that of the original LinkSys build -ARM_INSTRUCTION_SET = "arm" -THUMB_INTERWORK = "no" - -# for compatibility PACKAGE_ARCH stays as TARGET_ARCH and TARGET_ARCH is hard-wired -# to armeb - this makes this stuff independent of changes in machine/nslu2.conf -TARGET_ARCH = "armeb" -PACKAGE_ARCH = "${TARGET_ARCH}" -# PACKAGE_EXTRA_ARCHS has the full list of supported architectures (from nslu2be.conf). -# We need "nslu2" added for backwards compatibility. -PACKAGE_EXTRA_ARCHS += "nslu2" - -# match the optimisation settings to that which has traditionally been used -# in unslung -FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2" - -INHERIT += " package_ipk" - -IMAGE_FSTYPES = "jffs2" -UNSLUNG_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-unslung.txt')}" -EXTRA_IMAGECMD_jffs2 = "-n --pad --big-endian --eraseblock=0x20000 -D ${UNSLUNG_DEVICE_TABLE}" - -UNSLUNG_EXTRA_DEPENDS ?= "" -UNSLUNG_EXTRA_RDEPENDS ?= "" - -UNSLUNG_EXTRA_INSTALL ?= "${UNSLUNG_EXTRA_RDEPENDS}" - -# Select between multiple alternative providers, if more than one is eligible. -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}libc-initial:glibc-initial" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}libc-for-gcc:glibc" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}binutils:binutils-cross" -PREFERRED_PROVIDERS += " virtual/libc:glibc" -PREFERRED_PROVIDERS += " linux-libc-headers:linux-libc-headers" - -PREFERRED_PROVIDER_libc6-unslung = "glibc" - -PREFERRED_VERSION_binutils ?= "2.15.94.0.1" -PREFERRED_VERSION_binutils-cross ?= "2.15.94.0.1" -PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4" -PREFERRED_VERSION_gcc-cross-intermediate ?= "3.4.4" -PREFERRED_VERSION_gcc-cross ?= "3.4.4" -PREFERRED_VERSION_gcc ?= "3.4.4" -PREFERRED_VERSION_glibc ?= "2.2.5" -PREFERRED_VERSION_glibc-initial ?= "2.2.5" - -# Whilst gcc 3.4.4 sypports sysroot, binutils 2.15.94.0.1 does not -# so we need the linkage helpers to help binutils find staging. -DEPENDS_append_pn-linux-libc-headers = "cross-linkage staging-linkage" - -PREFERRED_PROVIDER_virtual/kernel = "unslung-kernel" -PREFERRED_VERSION_unslung-kernel ?= "2.4.22.l2.3r63" -PREFERRED_VERSION_unslung-rootfs ?= "2.3r63" -PREFERRED_VERSION_nslu2-linksys-firmware ?= "2.3r63" -PREFERRED_VERSION_nslu2-linksys-libs ?= "2.3r63" -PREFERRED_VERSION_nslu2-linksys-ramdisk ?= "2.3r63" - -CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/" -INHERIT += "nslu2-mirrors" - -#------------------------------------------------------------------- -# FIXME! -# This is clearly wrong, the headers should match the 2.4.22 kernel, -# but locking this to 2.6.11.1 at least gets Unslung building again. -# - mwester 16 Dec 2006 -# -PREFERRED_VERSION_linux-libc-headers ?= "2.6.11.1" - -require conf/distro/include/sane-srcdates.inc -require conf/distro/include/sane-srcrevs.inc |