diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-12-16 16:56:15 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-16 15:36:15 +0000 |
commit | c9df637486b2b8621ca9ab33358d62a25f606432 (patch) | |
tree | d2fbf86c9519c782d2dc1f3cbba9ff7361ebc86d | |
parent | aa1a780d84c9206f850e007775e9dd8cee5f0a59 (diff) | |
download | poky-c9df637486b2b8621ca9ab33358d62a25f606432.tar.gz |
kernel.bbclass: Rename do_deploy so the function can be overridden in recipes
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index bb76285eba..341809a7d7 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -474,7 +474,7 @@ addtask sizecheck before do_install after do_compile | |||
474 | KERNEL_IMAGE_BASE_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}" | 474 | KERNEL_IMAGE_BASE_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}" |
475 | KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}" | 475 | KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}" |
476 | 476 | ||
477 | do_deploy() { | 477 | kernel_do_deploy() { |
478 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin | 478 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin |
479 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then | 479 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then |
480 | tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib | 480 | tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib |
@@ -504,6 +504,8 @@ do_deploy[dirs] = "${DEPLOYDIR} ${B}" | |||
504 | 504 | ||
505 | addtask deploy before do_package after do_install | 505 | addtask deploy before do_package after do_install |
506 | 506 | ||
507 | EXPORT_FUNCTIONS do_deploy | ||
508 | |||
507 | # perf must be enabled in individual kernel recipes | 509 | # perf must be enabled in individual kernel recipes |
508 | PACKAGES =+ "perf" | 510 | PACKAGES =+ "perf" |
509 | FILES_perf = "${bindir}/* \ | 511 | FILES_perf = "${bindir}/* \ |