summaryrefslogtreecommitdiffstats
path: root/scripts/combo-layer.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/combo-layer.conf.example')
-rw-r--r--scripts/combo-layer.conf.example56
1 files changed, 56 insertions, 0 deletions
diff --git a/scripts/combo-layer.conf.example b/scripts/combo-layer.conf.example
new file mode 100644
index 0000000000..010a692350
--- /dev/null
+++ b/scripts/combo-layer.conf.example
@@ -0,0 +1,56 @@
1# combo-layer example configuration file
2
3# component name
4[bitbake]
5# mandatory options
6# git upstream uri
7src_uri = git://git.openembedded.org/bitbake
8
9# the directory to clone the component repo
10local_repo_dir = /home/kyu3/src/test/bitbake
11
12# the relative dir within the combo repo to put the component files
13# use "." if the files should be in the root dir
14dest_dir = bitbake
15
16# the last update revision.
17# "init" will set this to the latest revision automatically, however if it
18# is empty when "update" is run, the tool will start from the first commit.
19# Note that this value will get updated by "update" if the component repo's
20# latest revision changed and the operation completes successfully.
21last_revision =
22
23# optional options:
24
25# branch: specify the branch in the component repo to pull from
26# (master if not specified)
27
28# file_filter: only include the specified file(s)
29# file_filter = [path] [path] ...
30# example:
31# file_filter = src/ : only include the subdir src
32# file_filter = src/*.c : only include the src *.c file
33# file_filter = src/main.c src/Makefile.am : only include these two files
34
35# hook: if provided, the tool will call the hook to process the generated
36# patch from upstream, and then apply the modified patch to the combo
37# repo.
38# the hook script is called as follows: ./hook patchpath revision reponame
39# example:
40# hook = combo-layer-hook-default.sh
41
42[oe-core]
43src_uri = git://git.openembedded.org/openembedded-core
44local_repo_dir = /home/kyu3/src/test/oecore
45dest_dir = .
46last_revision =
47
48# It is also possible to embed python code in the config values. Similar
49# to bitbake it considers every value starting with @ to be a python
50# script.
51# e.g. local_repo_dir could easily be configured using an environment
52# variable:
53#
54# [bitbake]
55# local_repo_dir = @os.getenv("LOCAL_REPO_DIR") + "/bitbake"
56#