From e48207d22d54ab29cbe11859454a2bd335382ce4 Mon Sep 17 00:00:00 2001 From: Dragos Motrea Date: Tue, 20 Jun 2017 10:02:41 +0200 Subject: kernel: Add kernel config file to deploy directory Signed-off-by: Dragos Motrea Signed-off-by: Adrian Dudau --- recipes-kernel/linux/linux-common.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-kernel/linux/linux-common.inc (limited to 'recipes-kernel/linux/linux-common.inc') diff --git a/recipes-kernel/linux/linux-common.inc b/recipes-kernel/linux/linux-common.inc new file mode 100644 index 0000000..426b0ff --- /dev/null +++ b/recipes-kernel/linux/linux-common.inc @@ -0,0 +1,14 @@ +kernel_do_deploy[vardepsexclude] = "DATETIME" +kernel_do_deploy_append () { + + # + # Drop the regular defconfig along side the others for consistency + # + cp ${B}/.config ${DEPLOYDIR}/config-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.config + + # + # add symlink + # + ln -sf config-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.config ${DEPLOYDIR}/config-${MACHINE}.config + +} -- cgit v1.2.3-54-g00ecf