summaryrefslogtreecommitdiff
path: root/conf/distro/oplinux-uclibc.conf
blob: b8617cc76341e8f92c4c4a609f2e1f6652397e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#-----------------------------------------------------------------------------
#@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"
LIBC = "uclibc"
require conf/distro/include/${LIBC}.inc

#
# 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.1.1"
PREFERRED_VERSION_gcc-cross ?= "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_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"




FEED_ARCH ?= "${TARGET_ARCH}"

#i486 machines          
FEED_ARCH_x86           ="i486"

#i586 machines
FEED_ARCH_epia          = "i586"

#i686 machines
FEED_ARCH_guinness      = "i686"
FEED_ARCH_progear       = "i686"

#powerpc machines
FEED_ARCH_efika         = "ppc603e"
FEED_ARCH-dht-walnut    = "ppc405"


FEED_URIS += " \
                no-arch##${OPLINUX-uCLIBC_URI}/unstable/feed/all \
                base##${OPLINUX-uCLIBC_URI}/unstable/feed/${FEED_ARCH}/base \
                perl##${OPLINUX-uCLIBC_URI}/unstable/feed/${FEED_ARCH}/perl \
                python##${OPLINUX-uCLIBC_URI}/unstable/feed/${FEED_ARCH}/python \
                debug##${OPLINUX-uCLIBC_URI}/unstable/feed/${FEED_ARCH}/debug \
                ${MACHINE}##${OPLINUX-uCLIBC_URI}/unstable/feed/${FEED_ARCH}/machine/${MACHINE}"