diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2016-02-05 13:34:03 +0100 |
---|---|---|
committer | Nora Björklund <nora.bjorklund@enea.com> | 2016-02-15 10:59:38 +0100 |
commit | 6df97385b2af0423963b3eb159b0b504b9fc3e0e (patch) | |
tree | 93a39683c8e9efc8da0c7e5d1df3f9a07cb0b8dd /recipes-kernel/linux/enea-common.inc | |
parent | 45d2e484f1262f1d5f5e3602f1e0fa5f6f88abf9 (diff) | |
download | meta-enea-bsp-common-6df97385b2af0423963b3eb159b0b504b9fc3e0e.tar.gz |
add kernel configs
These are moved from meta-enea-base
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
Diffstat (limited to 'recipes-kernel/linux/enea-common.inc')
-rw-r--r-- | recipes-kernel/linux/enea-common.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-kernel/linux/enea-common.inc b/recipes-kernel/linux/enea-common.inc new file mode 100644 index 0000000..192100c --- /dev/null +++ b/recipes-kernel/linux/enea-common.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
2 | |||
3 | def format_file_uri(d): | ||
4 | substrlist = d.getVar("ENEA_KERNEL_FRAGMENTS").split() | ||
5 | ostr = '' | ||
6 | for substr in substrlist: | ||
7 | ostr = ostr + " file://" + substr | ||
8 | return ostr.lstrip() | ||
9 | |||
10 | ENEA_KERNEL_FRAGMENTS ??= "" | ||
11 | |||
12 | SRC_URI += "${@format_file_uri(d)}" | ||