#-----------------------------------------------------------------------------
#@TYPE: Distribution
#@NAME: Jlime 2009.1 <jlime.com>
#@DESCRIPTION: Jlime Mobility Embedded Linux Distribution for the
#              HP Jornada 620/660/680/690/720/728 handheld pc + Nec MP900c.
#@MAINTAINER: Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
#-----------------------------------------------------------------------------

#
# Header
#
DISTRO_NAME = "Jlime"
DISTRO_VERSION = "2009.1"
#DISTRO_TYPE = "release"
#DISTRO_TYPE = "debug"

export FEED_URLS_jlime = "http://repository.jlime.com/"

#<>------------------------------------------------------------------>
#<>What we want on the bootstrap image (extra) 
#<>                                            
#<>------------------------------------------------------------------<
DISTRO_EXTRA_RDEPENDS = "wireless-tools nano keymaps tslib-calibrate \
			console-tools tslib-tests parted dialog"

#<>------------------------------------------------------------------>
#<>Our Image files should look abit better.
#<>
#<>------------------------------------------------------------------<
IMAGE_NAME = "${IMAGE_BASENAME}-2009.1-${MACHINE}"

#
# Naming schemes
#
INHERIT += "debian"

#
# Packaging and output format
#
INHERIT += "package_ipk"
INHERIT += "package_tar"
IMAGE_FSTYPES = "tar.bz2"

#
# 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-intermediate:gcc-cross-intermediate"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"

PREFERRED_VERSION_gcc = "4.2.2"
PREFERRED_VERSION_gcc-cross = "4.2.2"
PREFERRED_VERSION_gcc-cross-initial = "4.2.2"
PREFERRED_VERSION_gcc-cross-intermediate = "4.2.2"
PREFERRED_VERSION_binutils = "2.18"
PREFERRED_VERSION_binutils-cross = "2.18"

#
# Target OS & FPU system
# 
TARGET_OS = "linux"
TARGET_FPU_arm = "soft"
TARGET_FPU_armeb = "soft"

PREFERRED_PROVIDER_virtual/libiconv = "glibc"
PREFERRED_PROVIDER_virtual/libintl = "glibc"
PREFERRED_PROVIDER_virtual/libc = "glibc"
PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}-libc-for-gcc = "glibc"
PREFERRED_PROVIDER_virtual/${TARGET_ARCH}-${TARGET_OS}-libc-for-gcc = "glibc"
PREFERRED_VERSION_linux-libc-headers = "2.6.18"
PREFERRED_VERSION_glibc = "2.5"

#
# Bootstrap & Init
#
PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap"
require conf/distro/include/sane-srcdates.inc
require conf/distro/include/sane-srcrevs.inc

#
# Framebuffer & X
#
PREFERRED_PROVIDER_virtual/libx11 = "diet-x11"
PREFERRED_PROVIDER_tslib = "tslib"
PREFERRED_PROVIDER_virtual/libsdl = "libsdl-x11"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
require conf/distro/include/preferred-xorg-versions-X11R7.4.inc

#
# GPE
#
require conf/distro/include/preferred-gpe-versions-2.8.inc

#
# Opie
#
QTE_VERSION = "2.3.10"
PALMTOP_USE_MULTITHREADED_QTE = "yes"
OPIE_VERSION = "1.2.3"
require conf/distro/include/preferred-opie-versions.inc
