From 436b18a6becc375dd0a8bec8c3c5f71ed3bf9e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 21 Sep 2018 15:37:33 +0200 Subject: [PATCH] linux: deploy a helper link containing abiversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes life much easier for our card-kernel-write helper scripts. Signed-off-by: Andreas Müller --- recipes-kernel/linux/linux%.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 recipes-kernel/linux/linux%.bbappend diff --git a/recipes-kernel/linux/linux%.bbappend b/recipes-kernel/linux/linux%.bbappend new file mode 100644 index 0000000..ed67333 --- /dev/null +++ b/recipes-kernel/linux/linux%.bbappend @@ -0,0 +1,8 @@ +kernel_do_deploy_append() { + # deploy an extra link containing abiversion - used by our + # card-kernel-write scripts + abilinkname=${type}-abiversion-${KERNEL_VERSION} + if [ -e $deployDir/${base_name}.bin ] ; then + ln -sf ${base_name}.bin $deployDir/${abilinkname} + fi +}