summaryrefslogtreecommitdiff
path: root/classes/toradex-kernel-deploy-config.bbclass
blob: 644c731d0835645fd65598f05605e155617a6437 (plain)
1
2
3
4
5
6
7
8
# This deploys the actual used kernel .config file as kernel-config

KERNEL_CONFIG_NAME ?= "${KERNEL_PACKAGE_NAME}-config-${KERNEL_ARTIFACT_NAME}"
KERNEL_CONFIG_LINK_NAME ?= "${KERNEL_PACKAGE_NAME}-config"
do_deploy:append() {
    cp -a ${B}/.config ${DEPLOYDIR}/${KERNEL_CONFIG_NAME}
    ln -sf ${KERNEL_CONFIG_NAME} ${DEPLOYDIR}/${KERNEL_CONFIG_LINK_NAME}
}