summaryrefslogtreecommitdiff
path: root/conf/distro/openprotium.conf
blob: 03115118ed3c0f720b975d9b0a12c4ea4acf2198 (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
#
# OpenProtium distribution - based upon openslug and generic confs
# 
DISTRO_NAME = "openprotium"
DISTRO_VERSION = "1.3"
DISTRO_TYPE ?= "alpha"
TARGET_OS = "linux"
#
# Basic configuration
#
DISTRO_DEV_MANAGER = "udev"
DISTRO_SSH_DAEMON = "dropbear"
DISTRO_INIT_MANAGER = "sysvinit"
DISTRO_LOGIN_MANAGER = "tinylogin"
MACHINE_TASK_PROVIDER = "task-openprotium"

#
# Naming schemes
#
INHERIT += "debian multimachine"

#
# Packaging and output format
#
INHERIT += "package_ipk"
IMAGE_FSTYPES = "jffs2 tar.gz"
OPENPROTIUM_URI = "http://www.openprotium.org"
FEED_ARCH ?= ${PACKAGE_ARCH}
FEED_URIS = "\
	no-arch##${OPENPROTIUM_URI}/releases/${DISTRO_VERSION}/all \
	base##${OPENPROTIUM_URI}/releases/${DISTRO_VERSION}/${FEED_ARCH} \
	${MACHINE}##${OPENPROTIUM_URI}/releases/${DISTRO_VERSION}/${MACHINE} \
	"

# For protium on the turbostation
IMAGE_BASENAME = "openprotium"
IMAGE_BASENAME_turbostation = "openprotium-ts"

# versions
PREFERRED_VERSION_binutils ?= "2.18"
PREFERRED_VERSION_binutils-cross ?= "2.18"

PREFERRED_VERSION_gcc ?= "4.1.1"
PREFERRED_VERSION_gcc-cross ?= "4.1.2"
PREFERRED_VERSION_gcc-cross-sdk ?= "4.1.2"
PREFERRED_VERSION_gcc-cross-initial ?= "4.1.2"

PREFERRED_VERSION_glibc		     = "2.6.1"
PREFERRED_VERSION_glibc-intermediate = "2.6.1"
PREFERRED_VERSION_glibc-initial      = "2.6.1"

PREFERRED_VERSION_linux-libc-headers = "2.6.11.1"

#
# Providers...
#
# binutils and compilers
#
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross"

PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc-intermediate"
PREFERRED_PROVIDER_virtual/powerpc-linux-libc-for-gcc = "glibc-intermediate"
PREFERRED_PROVIDER_virtual/powerpc-linux-libc-initial = "glibc-initial"

PREFERRED_PROVIDER_virtual/libc     = "glibc"
PREFERRED_PROVIDER_virtual/libiconv = "glibc"
PREFERRED_PROVIDER_virtual/libintl  = "glibc"

#silence a warning message...
PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers"

#
# Misc items.
#
PREFERRED_PROVIDER_virtual/db 		?= "db"
PREFERRED_PROVIDER_virtual/db-native 	?= "db-native"
PREFERRED_PROVIDER_gconf 		?= "gconf"

require conf/distro/include/sane-srcdates.inc
require conf/distro/include/sane-srcrevs.inc