summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-common.inc
diff options
context:
space:
mode:
authorDragos Motrea <Dragos.Motrea@enea.com>2017-06-20 10:02:41 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-06-20 10:24:46 +0200
commite48207d22d54ab29cbe11859454a2bd335382ce4 (patch)
tree46ead2bbb089cd01b117ead0fd3a64b9503bb29b /recipes-kernel/linux/linux-common.inc
parent339c9ce135de771df7b106d2f7ef7959f2afc458 (diff)
downloadmeta-enea-bsp-x86-e48207d22d54ab29cbe11859454a2bd335382ce4.tar.gz
kernel: Add kernel config file to deploy directory
Signed-off-by: Dragos Motrea <Dragos.Motrea@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-kernel/linux/linux-common.inc')
-rw-r--r--recipes-kernel/linux/linux-common.inc14
1 files changed, 14 insertions, 0 deletions
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 @@
1kernel_do_deploy[vardepsexclude] = "DATETIME"
2kernel_do_deploy_append () {
3
4 #
5 # Drop the regular defconfig along side the others for consistency
6 #
7 cp ${B}/.config ${DEPLOYDIR}/config-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.config
8
9 #
10 # add symlink
11 #
12 ln -sf config-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.config ${DEPLOYDIR}/config-${MACHINE}.config
13
14}