summaryrefslogtreecommitdiff
path: root/conf/distro/openmoko.conf
blob: 3adc4a9d5e1abd6a7ffb5742b69bed2a2dcbc940 (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
#-----------------------------------------------------------------------------
#@TYPE: Distribution
#@NAME: OpenMoko
#@DESCRIPTION: Linux Distribution Configuration for the OpenMoko Platform
#-----------------------------------------------------------------------------

require conf/distro/angstrom-2007.1.conf

#
# Header
#
DISTRO = "openmoko"
DISTRO_NAME = "OpenMoko"
DISTRO_VERSION = "P1-Snapshot-${DATE}"
#DISTRO_TYPE = "release"
DISTRO_TYPE = "debug"

OVERRIDES = "local:${MACHINE}:${DISTRO}:angstrom:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}"

CVS_TARBALL_STASH = "http://downloads.openmoko.org/sources/"

PREMIRRORS = "(ftp|https?)$://.*/.*/ http://downloads.openmoko.org/sources/"

FEED_URIS = "\
  snapshot-all##http://buildhost.openmoko.org/snapshots/2007.08/ipk/all \
  snapshot-armv4t##http://buildhost.openmoko.org/snapshots/2007.08/ipk/armv4t \
  snapshot-fic-gta01##http://buildhost.openmoko.org/snapshots/2007.08/ipk/fic-gta01 \
  \
  updates-all##http://buildhost.openmoko.org/OM2007.2/tmp/deploy/glibc/ipk/all \
  updates-armv4t##http://buildhost.openmoko.org/OM2007.2/tmp/deploy/glibc/ipk/armv4t \
  updates-fic-gta01##http://buildhost.openmoko.org/OM2007.2/tmp/deploy/glibc/ipk/fic-gta01 "

# 2.18 seems to break badly on 64-bit systems
PREFERRED_VERSION_binutils ?= "2.17.50.0.12"
PREFERRED_VERSION_binutils-cross ?= "2.17.50.0.12"

require conf/distro/include/preferred-openmoko-versions.inc

# Bleeding-edge developers should add the following line to their local.conf:
# require conf/distro/include/moko-autorev.inc

# override the PACKAGE_ARCH of certain packages for openmoko distro
#
# Same kernel runs on both these machines
PACKAGE_ARCH_pn-linux-openmoko_fic-gta01 = "${MACHINE_CLASS}"
PACKAGE_ARCH_pn-linux-openmoko_fic-gta02 = "${MACHINE_CLASS}"
# Same touchscreen on both these machines
PACKAGE_ARCH_pn-pointercal_fic-gta01 = "${MACHINE_CLASS}"
PACKAGE_ARCH_pn-pointercal_fic-gta02 = "${MACHINE_CLASS}"
SRC_URI_OVERRIDES_PACKAGE_ARCH_pn-pointercal_fic-gta01 = "0"
SRC_URI_OVERRIDES_PACKAGE_ARCH_pn-pointercal_fic-gta02 = "0"
# Same kernel so same usb
PACKAGE_ARCH_pn-usb-gadget-mode_fic-gta01 = "${MACHINE_CLASS}"
PACKAGE_ARCH_pn-usb-gadget-mode_fic-gta02 = "${MACHINE_CLASS}"
# same kernel so same keymaps
PACKAGE_ARCH_pn-keymaps_fic-gta01 = "${MACHINE_CLASS}"
PACKAGE_ARCH_pn-keymaps_fic-gta02 = "${MACHINE_CLASS}"
# neod knows about both machines
PACKAGE_ARCH_pn-neod_fic-gta01 = "${MACHINE_CLASS}"
PACKAGE_ARCH_pn-neod_fic-gta02 = "${MACHINE_CLASS}"

# Select packge versions we wash to use.
PREFERRED_PROVIDER_gtk+ = "gtk+-fastscaling"
PREFERRED_VERSION_gtk+-fastscaling = "2.10.14"

# deploy gta01 and gta02 in ${MACHINE_CLASS} directory
DEPLOY_DIR_IMAGE_fic-gta01 = "${DEPLOY_DIR}/images/${MACHINE_CLASS}"
DEPLOY_DIR_IMAGE_fic-gta02 = "${DEPLOY_DIR}/images/${MACHINE_CLASS}"