diff options
Diffstat (limited to 'scripts/combo-layer')
| -rwxr-xr-x | scripts/combo-layer | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/scripts/combo-layer b/scripts/combo-layer index db38a95805..e39e4e013f 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer | |||
| @@ -42,52 +42,7 @@ class Configuration(object): | |||
| 42 | """ | 42 | """ |
| 43 | Manages the configuration | 43 | Manages the configuration |
| 44 | 44 | ||
| 45 | A valid conf looks like: | 45 | For an example config file, see combo-layer.conf.example |
| 46 | |||
| 47 | # component name | ||
| 48 | [bitbake] | ||
| 49 | |||
| 50 | # mandatory options | ||
| 51 | |||
| 52 | # git upstream uri | ||
| 53 | src_uri = git://git.openembedded.org/bitbake | ||
| 54 | |||
| 55 | # the directory to clone the component repo | ||
| 56 | local_repo_dir = ~/src/bitbake | ||
| 57 | |||
| 58 | # the relative dir to commit the repo patch | ||
| 59 | # use "." if it is root dir | ||
| 60 | dest_dir = bitbake | ||
| 61 | |||
| 62 | # the updated revision last time. | ||
| 63 | # leave it empty if no commit updated yet, and then the tool | ||
| 64 | # will start from the first commit | ||
| 65 | last_revision = | ||
| 66 | |||
| 67 | # optional options | ||
| 68 | |||
| 69 | # file_filter: only include the interested file | ||
| 70 | # file_filter = [path] [path] ... | ||
| 71 | # example: | ||
| 72 | # file_filter = src/ : only include the subdir src | ||
| 73 | # file_filter = src/*.c : only include the src *.c file | ||
| 74 | # file_filter = src/main.c src/Makefile.am : only include these two files | ||
| 75 | |||
| 76 | [oe-core] | ||
| 77 | src_uri = git://git.openembedded.org/openembedded-core | ||
| 78 | local_repo_dir = ~/src/oecore | ||
| 79 | dest_dir = . | ||
| 80 | last_revision = | ||
| 81 | |||
| 82 | # it's also possible to embed python code in the config values. Similar | ||
| 83 | # to bitbake it considers every value starting with @ to be a python script. | ||
| 84 | # So local_repo could be easily configured using an environment variable as: | ||
| 85 | # | ||
| 86 | # [bitbake] | ||
| 87 | # local_repo = @os.getenv("LOCAL_REPO_DIR") + "/bitbake" | ||
| 88 | # | ||
| 89 | |||
| 90 | # more components ... | ||
| 91 | 46 | ||
| 92 | """ | 47 | """ |
| 93 | def __init__(self, options): | 48 | def __init__(self, options): |
