summaryrefslogtreecommitdiff
path: root/conf/local.conf.sample
blob: f27a2f627d4ac6d28fac8d2c1a9dcc9902e5bb42 (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#
# OpenEmbedded local configuration file (sample)
#
# Please visit the Wiki at http://openembedded.org/ for more info.
#

# Be SURE to read these comments and setup your build environment before
# proceeding.  Once you have done that, remove the line at the end of this
# file and build away.

# The recommended setup is to create a build directory, such as
# ${HOME}/oe/build/ (you may want to put OE and the packages into your
# ${HOME}/oe/oe/ and ${HOME}/oe/packages/ respectively too).  Within your
# build environment, you should copy this file into conf/local.conf, and
# then EDIT IT.  Fixup any paths to point to the correct locations, and
# setup the target specifications appropriately.

# ** READ THIS CAREFULLY **
#
# NOTE: Do NOT use ~ in your paths, OE does NOT expand ~ for you.  If you
# must have paths relative to your homedir use ${HOME} (note the {}'s there
# you MUST have them for the variable expansion to be done by OE).  Your
# paths should all be absolute paths (They should all start with a / after
# expansion.  Stuff like starting with ${HOME} or ${TOPDIR} is ok).
#
# ** READ THIS CAREFULLY **

# Once you have done that, you will want to cd into your build environment
# (${HOME}/oe/build/ in this example), then run "oemake targets..."  This
# will build into ${TMPDIR} which defaults to ${TOPDIR}/tmp (${TOPDIR} is
# the current directory when oemake was executed).

#
# Quick example of the described stuff above (builds the busybox packages):
#
# mkdir $HOME/sources
# mkdir $HOME/oe
#  .. clone oe and packages into $HOME/oe/oe and $HOME/oe/packages ..
# mkdir $HOME/oe/build-arm
# mkdir $HOME/oe/build-arm/conf
# cd $HOME/oe/build-arm
# cp ../packages/conf/local.conf.sample conf/local.conf
#  .. EDIT conf/local.conf to set OEFILES and other vars properly!! ..
# oemake busybox
#  .. busybox is built in tmp/ from the current dir ($HOME/oe/build-arm) ..
#

# Use this to specify where OE should place the downloaded sources into
DL_DIR = "${HOME}/sources"

# Delete the line below. Then specify which .oe files to consider for
# your build. Typically this will be something like OEFILES = "/path/to/packages/*/*.oe"
OEFILES := "${@oe.fatal('Edit your conf/local.conf: OEFILES')}"

# Use the OEMASK below unless you want to build something else than the
# default glibc based setup
OEMASK = ""

# Uncomment this if you want to use a prebuilt toolchain.  You will need to
# provide packages for toolchain and additional libraries yourself You will
# definitely need to say:
#     ASSUME_PROVIDED = "virtual/arm-linux-gcc-2.95"
# to build any of two Linux 2.4 Embedix kernels,
# i.e. openzaurus-sa-2.4.18 and openzaurus-pxa-2.4.18.
#ASSUME_PROVIDED = "virtual/${TARGET_PREFIX}gcc virtual/libc"

# Select between multiple alternative providers, if more than one is eligible.
PREFERRED_PROVIDERS = "virtual/qte:qte-for-opie virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-qpe"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"

# Uncomment this to specify where OE should create its temporary files.
# Note that a full build of everything in OE will take GigaBytes of hard
# disk space, so make sure to free enough space. The default TMPDIR is
# <build directory>/tmp
#TMPDIR = /usr/local/projects/oetmp

# Uncomment this to specify a machine to build for. See <oe>/conf/*.conf
# for machines currently known to OpenEmbedded.
#MACHINE = "collie"

# Use this to specify the target architecture. Note that this is only
# needed when building for a machine not known to OpenEmbedded. Better use
# the MACHINE attribute (see above)
TARGET_ARCH = "arm"

# Use this to specify the target operating system.  This is "linux" for a
# normal linux system with glibc.  Set this to "linux-uclibc" if you want
# to build a uclibc based system.
#TARGET_OS = "linux"
#TARGET_OS = "linux-uclibc"

# Uncomment this to select a distribution policy.
#DISTRO = "familiar"

# Uncomment this to build .tar packages during the build process.
# Also supported is "package_ipk"
# Usually better to set DISTRO instead (see above)
#INHERIT = "package_tar"

# Uncomment one of these lines to get a rootfs image type other than jffs2
#IMAGE_FSTYPE = "tar"
#IMAGE_FSTYPE = "cramfs"

# Comment this out if you do not wish to use a parse cache (not recommended).
CACHE=/var/tmp/oe-cache.${USER}

# Uncomment this if you want OE to emit debugging output
#OEDEBUG = "yes"

# Uncomment this if you want OE to emit the log if a build fails.
#OEINCLUDELOGS = "yes"

# Specifies a location to search for pre-generated tarballs when fetching
# a cvs:// URI.  Comment this out if you always want to pull directly 
# from the CVS tree.
CVS_TARBALL_STASH = "http://www.treke.net/oe/source/"

# EDIT THIS FILE and then remove the line below before using!
REMOVE_THIS_LINE:="${@oe.fatal('Read the comments in your conf/local.conf')}"