# Copyright (C) 2007, Stelios Koroneos - Digital OPSiS, All Rights Reserved # Released under the MIT license (see packages/COPYING) #----------------------------------------------------------------------------- #@TYPE: Distribution #@NAME: OPLinux #@DESCRIPTION: OPLinux Embedded Linux Distribution Configuration # #@COMMENT: This is a distribution for a number of embedded targets #@COMMENT: currently supported are #@COMMENT: x86 wrap (i486) #@COMMENT: i586-generic epia (i586) #@COMMENT: i686-generic (i686) #@COMMENT: dht-walnut magicbox (ppc405) #@COMMENT: sequoia (ppc440) #@COMMENT: efika (ppc603) #@COMMENT: #@COMMENT: for additional info please check www.digital-opsis.com/oplinux #----------------------------------------------------------------------------- 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" 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_PROVIDER_dbus-glib = "dbus-glib" PREFERRED_PROVIDER_virtual/libsdl ?= "libsdl-x11" PREFERRED_PROVIDER_esound ?= "pulseaudio" # glibc: PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" PREFERRED_PROVIDER_virtual/libintl ?= "glibc" PREFERRED_PROVIDER_virtual/libc ?= "glibc" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc" PREFERRED_PROVIDER_virtual/arm-oplinux-linux-gnueabi-libc-for-gcc = "glibc" PREFERRED_PROVIDER_virtual/armeb-oplinux-linux-gnueabi-libc-for-gcc = "glibc" PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc" PREFERRED_PROVIDER_virtual/armeb-linux-libc-for-gcc = "glibc" PREFERRED_PROVIDER_virtual/powerpc-oplinux-linux-libc-for-gcc = "glibc" PREFERRED_PROVIDER_virtual/mipsel-oplinux-linux-libc-for-gcc = "glibc" PREFERRED_PROVIDER_virtual/sparc-oplinux-linux-libc-for-gcc = "glibc" # 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_gcc-cross-intermediate ?= "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-initial ?= "2.5" PREFERRED_VERSION_glibc ?= "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" FEED_URIS += " \ no-arch##${OPLINUX_URI}/unstable/feed/all \ base##${OPLINUX_URI}/unstable/feed/${FEED_ARCH}/base \ perl##${OPLINUX_URI}/unstable/feed/${FEED_ARCH}/perl \ python##${OPLINUX_URI}/unstable/feed/${FEED_ARCH}/python \ debug##${OPLINUX_URI}/unstable/feed/${FEED_ARCH}/debug \ ${MACHINE}##${OPLINUX_URI}/unstable/feed/${FEED_ARCH}/machine/${MACHINE}"