From c9df637486b2b8621ca9ab33358d62a25f606432 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Thu, 16 Dec 2010 16:56:15 +0800 Subject: kernel.bbclass: Rename do_deploy so the function can be overridden in recipes Signed-off-by: Kevin Tian Signed-off-by: Richard Purdie --- meta/classes/kernel.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/classes/kernel.bbclass') diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index bb76285eb..341809a7d 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -474,7 +474,7 @@ addtask sizecheck before do_install after do_compile KERNEL_IMAGE_BASE_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}" KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}" -do_deploy() { +kernel_do_deploy() { install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib @@ -504,6 +504,8 @@ do_deploy[dirs] = "${DEPLOYDIR} ${B}" addtask deploy before do_package after do_install +EXPORT_FUNCTIONS do_deploy + # perf must be enabled in individual kernel recipes PACKAGES =+ "perf" FILES_perf = "${bindir}/* \ -- cgit v1.2.3