summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-08-05 13:06:32 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-08-14 03:40:07 -0400
commit1708207a54e1195d43fb412a3bbef9aa7135fce1 (patch)
treea327700010535e7db399145c19c9adc6748380b3 /classes/kernel.bbclass
parent9e2e5d525f46c324439c2608718ccf98a9c4a61d (diff)
kernel.bbclass: introduce MODULES_IMAGE_BASE_NAME
Similar to KERNEL_IMAGE_BASE_NAME, allow overwriting from a recipe Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index b4987608ed..3ee7f53a29 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -510,6 +510,7 @@ addtask uboot_mkimage before do_install after do_compile
KERNEL_IMAGE_BASE_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}"
KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}"
+MODULES_IMAGE_BASE_NAME ?= modules-${PV}-${PR}-${MACHINE}
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
@@ -517,7 +518,7 @@ do_deploy() {
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
if [ -d "${D}/lib" ]; then
- tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${PV}-${PR}-${MACHINE}.tgz -C ${D} lib
+ tar -cvzf ${DEPLOY_DIR_IMAGE}/${MODULES_IMAGE_BASE_NAME}.tgz -C ${D} lib
fi
cd ${DEPLOY_DIR_IMAGE}