diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2015-10-29 11:39:10 +0100 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2015-10-29 11:39:10 +0100 |
| commit | fec5cd3b7ca6e593d7bf8a28711fd4d876354f05 (patch) | |
| tree | 4dd21870c846232a97fddb07bdd2ebc34c1d4d65 /recipes-kernel | |
| parent | 38929ed6a4630d2b8f3efa00616800b4012ea0d7 (diff) | |
| download | meta-el-common-fec5cd3b7ca6e593d7bf8a28711fd4d876354f05.tar.gz | |
rename the kernel config fragments variable
For better readability
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-kernel')
| -rw-r--r-- | recipes-kernel/linux/enea-common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/enea-common.inc b/recipes-kernel/linux/enea-common.inc index 5de0749..192100c 100644 --- a/recipes-kernel/linux/enea-common.inc +++ b/recipes-kernel/linux/enea-common.inc | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" |
| 2 | 2 | ||
| 3 | def format_file_uri(d): | 3 | def format_file_uri(d): |
| 4 | substrlist = d.getVar("ENEA_KERN_FRAGMENTS").split() | 4 | substrlist = d.getVar("ENEA_KERNEL_FRAGMENTS").split() |
| 5 | ostr = '' | 5 | ostr = '' |
| 6 | for substr in substrlist: | 6 | for substr in substrlist: |
| 7 | ostr = ostr + " file://" + substr | 7 | ostr = ostr + " file://" + substr |
| 8 | return ostr.lstrip() | 8 | return ostr.lstrip() |
| 9 | 9 | ||
| 10 | ENEA_KERN_FRAGMENTS ??= "" | 10 | ENEA_KERNEL_FRAGMENTS ??= "" |
| 11 | 11 | ||
| 12 | SRC_URI += "${@format_file_uri(d)}" | 12 | SRC_URI += "${@format_file_uri(d)}" |
