summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/enea-common.inc
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2016-02-05 13:34:03 +0100
committerNora Björklund <nora.bjorklund@enea.com>2016-02-15 10:59:38 +0100
commit6df97385b2af0423963b3eb159b0b504b9fc3e0e (patch)
tree93a39683c8e9efc8da0c7e5d1df3f9a07cb0b8dd /recipes-kernel/linux/enea-common.inc
parent45d2e484f1262f1d5f5e3602f1e0fa5f6f88abf9 (diff)
downloadmeta-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.inc12
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 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2
3def 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
10ENEA_KERNEL_FRAGMENTS ??= ""
11
12SRC_URI += "${@format_file_uri(d)}"