diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-08-10 10:07:51 +0200 |
---|---|---|
committer | Adrian Calianu <adrian.calianu@enea.com> | 2017-08-10 10:07:51 +0200 |
commit | f227a2738e09996d0d88891e786dedd8f81930ed (patch) | |
tree | fe0448e7bca12ff0275252ed6946456e16311c7f /recipes-kernel/linux/linux-deploy-kconfig.inc | |
parent | 0ad35fda8924b89f571f0437c3fd67ab768b823e (diff) | |
download | meta-enea-bsp-common-f227a2738e09996d0d88891e786dedd8f81930ed.tar.gz |
copy kernel config into deploy folderocteontx-bsp
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Diffstat (limited to 'recipes-kernel/linux/linux-deploy-kconfig.inc')
-rw-r--r-- | recipes-kernel/linux/linux-deploy-kconfig.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-deploy-kconfig.inc b/recipes-kernel/linux/linux-deploy-kconfig.inc new file mode 100644 index 0000000..426b0ff --- /dev/null +++ b/recipes-kernel/linux/linux-deploy-kconfig.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | kernel_do_deploy[vardepsexclude] = "DATETIME" | ||
2 | kernel_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 | } | ||