#-----------------------------------------------------------------------------
#@TYPE: Distribution
#@NAME: Jlime Henchman <jlime.com>
#@DESCRIPTION: Jlime Mobility Embedded Linux Distribution for the
#              NEC Mobile Pro 900/900c handheld pc.
#@MAINTAINER: Matt Oudenhoven <wicked5850@yahoo.com>
#-----------------------------------------------------------------------------

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

#export FEED_URLS_jlime = "henchman##http://henchman.jlime.com/feed"

#<>------------------------------------------------------------------>
#<>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}-Henchman-${MACHINE}"

#
# Naming schemes
#
INHERIT += "debian"

#
# Packaging and output format
#
INHERIT += "package_ipk"
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 = "fixed"
TARGET_FPU_armeb = "fixed"

LIBC = "glibc"
require conf/distro/include/${LIBC}.inc

PREFERRED_VERSION_linux-libc-headers = "2.6.23"
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