diff options
Diffstat (limited to 'conf/distro')
-rw-r--r-- | conf/distro/foonas.conf | 44 | ||||
-rw-r--r-- | conf/distro/include/oplinux.inc | 51 | ||||
-rw-r--r-- | conf/distro/include/slugos.inc | 2 | ||||
-rw-r--r-- | conf/distro/oplinux-uclibc.conf | 81 | ||||
-rw-r--r-- | conf/distro/oplinux.conf | 131 |
5 files changed, 302 insertions, 7 deletions
diff --git a/conf/distro/foonas.conf b/conf/distro/foonas.conf index 6745d9d0ca..bd2a0e4e5e 100644 --- a/conf/distro/foonas.conf +++ b/conf/distro/foonas.conf @@ -27,6 +27,33 @@ IMAGE_FSTYPES = "jffs2" # # binutils and compilers # + +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/arm-foonas-linux-gnueabi-libc-for-gcc = "glibc-intermediate" +#PREFERRED_PROVIDER_virtual/armeb-foonas-linux-gnueabi-libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate" +#PREFERRED_PROVIDER_virtual/armeb-linux-libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/powerpc-foonas-linux-libc-for-gcc = "glibc-intermediate" +#PREFERRED_PROVIDER_virtual/mipsel-foonas-linux-libc-for-gcc = "glibc-intermediate" +#PREFERRED_PROVIDER_virtual/sparc-foonas-linux-libc-for-gcc = "glibc-intermediate" + +TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" + +#mess with compiler flags to use -Os instead of -O2 +#Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info +# perl has some problems, see http://bugs.openembedded.org/show_bug.cgi?id=1616 +# [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os" + +FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" +FULL_OPTIMIZATION_pn-perl = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1" +FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2" + +BUILD_OPTIMIZATION = "-Os" +BUILD_OPTIMIZATION_pn-perl = "-O1" +BUILD_OPTIMIZATION_sparc = "-O2" + +CXXFLAGS += "-fvisibility-inlines-hidden" + PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross" @@ -43,23 +70,28 @@ PREFERRED_PROVIDER_virtual/libintl = "glibc" PREFERRED_PROVIDER_virtual/db = "db" PREFERRED_PROVIDER_virtual/db-native = "db-native" -PREFERRED_VERSION_binutils = "2.16" -PREFERRED_VERSION_binutils-cross = "2.16" +PREFERRED_VERSION_binutils = "2.17.50.0.12" +PREFERRED_VERSION_binutils-cross = "2.17.50.0.12" -PREFERRED_VERSION_gcc = "4.1.2" +PREFERRED_VERSION_gcc = "4.1.1" PREFERRED_VERSION_gcc-cross = "4.1.1" +PREFERRED_VERSION_gcc-cross-sdk ?= "4.1.1" PREFERRED_VERSION_gcc-cross-initial = "4.1.1" PREFERRED_VERSION_glibc = "2.5" PREFERRED_VERSION_glibc-intermediate = "2.5" -PREFERRED_VERSION_glibc-initial = "2.3.2" -GLIBC_ADDONS = "nptl" +PREFERRED_VERSION_glibc-initial = "2.5" GLIBC_EXTRA_OECONF = "--with-tls" +PREFERRED_VERSION_glib-2.0 = "2.12.10" +PREFERRED_VERSION_linux-libc-headers ?= "2.6.18" +GLIBC_ADDONS ?= "ports,nptl,libidn" + + # # Target OS # -USE_NLS ?= "no" + TARGET_OS = "linux" HOTPLUG = "udev" require conf/distro/include/sane-srcdates.inc diff --git a/conf/distro/include/oplinux.inc b/conf/distro/include/oplinux.inc new file mode 100644 index 0000000000..ecf08322fa --- /dev/null +++ b/conf/distro/include/oplinux.inc @@ -0,0 +1,51 @@ +# +# extra checking for needed tools +# + +# set minimal version of BitBake needed +BB_MIN_VERSION = "1.6.3" + +#oplinux is a multimachine distro +INHERIT += "multimachine" + +# check for required tools and minimal BitBake version +INHERIT += "sanity" + + +# Specifies a location to search for pre-generated tarballs when fetching +# a cvs:// URI. Outcomment this, if you always want to pull directly from CVS. +#CVS_TARBALL_STASH = "http://www.digital-opsis.com/oplinux/source/current/" + +#INHERIT += "owmnr-mirrors" + +#Uncommend this is if you are using bitbake multithread and you have multiple cpu's or cores you are running on +#BB_NUMBER_THREADS = "5" + +#Uncommend this if you hava icecc installed +#INHERIT += "icecc" +#PARALLEL_MAKE = "-j6" +#ICECC_PATH = "/usr/bin/icecc" +#ICECC_ENV_EXEC = "/home/stelios/icecc-create-env" + +# +# Bootstrap & Init +PREFERRED_PROVIDER_task-bootstrap = "task-base" + +# We want images supporting the following features (for task-base +DISTRO_FEATURES = "nfs smbfs ext2 pcmcia usbgadget usbhost pci" + + +OPLINUX_URI = "http://www.ifaistos.awmn" + +#Dir config +IMAGE_ROOTFS = "${TMPDIR}/rootfs/${MACHINE}" + +# +#Preferred versions of packages we need +# +PREFERRED_VERSION_busybox = "1.2.1" +PREFERRED_VERSION_u-boot ?= "1.1.4" +# Latest linphone supports yeaphone +PREFERRED_VERSION_linphone ?= "1.6.0" + + diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc index 3edaa342cb..8bb143dbba 100644 --- a/conf/distro/include/slugos.inc +++ b/conf/distro/include/slugos.inc @@ -16,7 +16,7 @@ #TARGET_OS "linux" or "linux-uclibc" # The following may be overridden to make sub-versions -SLUGOS_VERSION = "4.3" +SLUGOS_VERSION = "4.4" DISTRO_REVISION ?= "" DISTRO_VERSION ?= "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}" # For release (only): diff --git a/conf/distro/oplinux-uclibc.conf b/conf/distro/oplinux-uclibc.conf new file mode 100644 index 0000000000..2ab34603e6 --- /dev/null +++ b/conf/distro/oplinux-uclibc.conf @@ -0,0 +1,81 @@ +#----------------------------------------------------------------------------- +#@TYPE: Distribution +#@NAME: OPLinux uClibC +#@DESCRIPTION: OPLinux uClibC Embedded Linux Distribution Configuration +# +#@COMMENT: This is a distribution for a number of embedded targets +#@COMMENT: currently supported are +#@COMMENT: generic x86 +#@COMMENT: wrap (x86) +#@COMMENT: dht-walnut (ppc405) +#@COMMENT: efika (ppc603) +#@COMMENT: rb5xx (mips) +#@COMMENT: +#@COMMENT: for additional info please check www.digital-opsis.com +#----------------------------------------------------------------------------- + +require conf/distro/include/oplinux.inc +require conf/distro/include/sane-srcdates.inc + + +# +# Header +# +DISTRO_NAME = "OPLinux-uClibC" +DISTRO_VERSION = ".dev-snapshot-${SRCDATE}" +#DISTRO_TYPE = "release" +DISTRO_TYPE = "debug" + +# +# Target OS & FPU system +# +TARGET_OS = "linux-uclibc" +PREFERRED_PROVIDER_virtual/libiconv = "libiconv" +PREFERRED_PROVIDER_virtual/libintl = "libintl" + +# +# Naming schemes +# +PARALLEL_INSTALL_MODULES = "1" +INHERIT += "package_ipk debian" + +# +# Packaging and output format + +IMAGE_FSTYPES = "tar.gz ext2.gz jffs2" + +# +# Kernel +# +KERNEL = "kernel26" +MACHINE_KERNEL_VERSION = "2.6" + + +# +# Binutils & Compiler +# +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" + +PREFERRED_VERSION_gcc ?= "4.1.1" +PREFERRED_VERSION_gcc-cross ?= "4.1.1" +PREFERRED_VERSION_gcc-cross-initial ?= "4.1.1" +PREFERRED_VERSION_binutils ?= "2.17.50.0.5" +PREFERRED_VERSION_binutils-cross ?= "2.17.50.0.5" + + +#PREFERRED_VERSION_linux-libc-headers = "2.6.15.99" +PREFERRED_VERSION_linux-libc-headers = "2.6.11.1" + +SRCDATE_uclibc ?= "20061128" +PREFERRED_VERSION_uclibc ?= "0.9.28+svn${SRCDATE_uclibc}" + + + +#Other packages we need +#try to keep it minimal :) +DISTRO_EXTRA_RDEPENDS += "\ + nano pciutils" + + diff --git a/conf/distro/oplinux.conf b/conf/distro/oplinux.conf new file mode 100644 index 0000000000..61756239e0 --- /dev/null +++ b/conf/distro/oplinux.conf @@ -0,0 +1,131 @@ +#----------------------------------------------------------------------------- +#@TYPE: Distribution +#@NAME: OPLinux uClibC +#@DESCRIPTION: OPLinux uClibC Embedded Linux Distribution Configuration +# +#@COMMENT: This is a distribution for a number of embedded targets +#@COMMENT: currently supported are +#@COMMENT: generic x86 +#@COMMENT: wrap (x86) +#@COMMENT: dht-walnut (ppc405) +#@COMMENT: efika (ppc603) +#@COMMENT: rb5xx (mips) +#@COMMENT: +#@COMMENT: for additional info please check www.digital-opsis.com +#----------------------------------------------------------------------------- + +require conf/distro/include/oplinux.inc +require conf/distro/include/sane-srcdates.inc + + +# +# Header +# +DISTRO_NAME = "OPLinux" +DISTRO_VERSION = ".dev-snapshot-${SRCDATE}" +#DISTRO_TYPE = "release" +DISTRO_TYPE = "debug" + +# +# Target OS & FPU system +# +TARGET_OS = "linux" +# +# Naming schemes +# +PARALLEL_INSTALL_MODULES = "1" +INHERIT += "package_ipk debian" + +# +# Packaging and output format + +IMAGE_FSTYPES = "tar.gz ext2.gz" + + + +PREFERRED_PROVIDER_dbus-glib = "dbus-glib" +PREFERRED_PROVIDER_virtual/libsdl ?= "libsdl-x11" +PREFERRED_PROVIDER_virtual/libxine ?= "libxine-x11" +PREFERRED_PROVIDER_esound ?= "pulseaudio" +PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv" +PREFERRED_PROVIDER_virtual/libintl ?= "libintl" + + + +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross" + + +#EABI stuff +PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/powerpc-linux-libc-for-gcc ="glibc-intermediate" + + + +# Virtuals: +PREFERRED_PROVIDER_virtual/db ?= "db" +PREFERRED_PROVIDER_virtual/db-native ?= "db-native" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-kdrive" + +# Others: +PREFERRED_PROVIDER_virtual/libx11 ?= "diet-x11" +PREFERRED_PROVIDER_gconf ?= "gconf-dbus" +PREFERRED_PROVIDER_gnome-vfs ?= "gnome-vfs" +PREFERRED_PROVIDER_gnome-vfs-plugin-file ?= "gnome-vfs" +PREFERRED_PROVIDER_tslib ?= "tslib" +PREFERRED_PROVIDER_tslib-conf ?= "tslib" +PREFERRED_PROVIDER_libgpewidget ?= "libgpewidget" +PREFERRED_PROVIDER_ntp = "ntp" +PREFERRED_PROVIDER_hotplug = "udev" +PREFERRED_PROVIDER_libxss = "libxss" + + +PREFERRED_VERSION_gcc ?= "4.1.1" +PREFERRED_VERSION_gcc-cross ?= "4.1.1" +PREFERRED_VERSION_gcc-cross-sdk ?= "4.1.1" +PREFERRED_VERSION_gcc-cross-initial ?= "4.1.1" + +PREFERRED_VERSION_binutils ?= "2.17.50.0.5" +PREFERRED_VERSION_binutils-cross ?= "2.17.50.0.5" +PREFERRED_VERSION_binutils-cross-sdk ?= "2.17.50.0.5" + +PREFERRED_VERSION_linux-libc-headers_i486 ?= "2.6.18" +PREFERRED_VERSION_linux-libc-headers_i586 ?= "2.6.18" +PREFERRED_VERSION_linux-libc-headers_i686 ?= "2.6.18" + +PREFERRED_VERSION_linux-libc-headers_powerpc ?= "2.6.18" +PREFERRED_VERSION_linux-libc-headers ?= "2.6.18" + +PREFERRED_VERSION_glibc ?= "2.5" +PREFERRED_VERSION_glibc_efika ?= "2.5" + +PREFERRED_VERSION_glibc-intermediate_i686 ?= "2.4" +PREFERRED_VERSION_glibc-intermediate ?= "2.5" +PREFERRED_VERSION_glibc-intermediate ?= "2.5" +PREFERRED_VERSION_glibc-initial ?= "2.5" + + +PCMCIA_MANAGER = "pcmciautils" + +PREFERRED_VERSION_dbus ?= "1.0.2" +PREFERRED_VERSION_dbus-glib ?= "0.71" + + +# +# Kernel +# +KERNEL = "kernel26" +MACHINE_KERNEL_VERSION = "2.6" + + + +#Other packages we need +#try to keep it minimal :) +DISTRO_EXTRA_RDEPENDS += "\ + nano pciutils" + + + + + |