From 6df97385b2af0423963b3eb159b0b504b9fc3e0e Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Fri, 5 Feb 2016 13:34:03 +0100 Subject: add kernel configs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are moved from meta-enea-base Signed-off-by: Adrian Dudau Signed-off-by: Nora Björklund --- recipes-kernel/linux/enea-common.inc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-kernel/linux/enea-common.inc (limited to 'recipes-kernel/linux/enea-common.inc') 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 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +def format_file_uri(d): + substrlist = d.getVar("ENEA_KERNEL_FRAGMENTS").split() + ostr = '' + for substr in substrlist: + ostr = ostr + " file://" + substr + return ostr.lstrip() + +ENEA_KERNEL_FRAGMENTS ??= "" + +SRC_URI += "${@format_file_uri(d)}" -- cgit v1.2.3-54-g00ecf