diff options
Diffstat (limited to 'meta/classes-recipe/deploy.bbclass')
-rw-r--r-- | meta/classes-recipe/deploy.bbclass | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/classes-recipe/deploy.bbclass b/meta/classes-recipe/deploy.bbclass new file mode 100644 index 0000000000..f56fe98d6d --- /dev/null +++ b/meta/classes-recipe/deploy.bbclass | |||
@@ -0,0 +1,18 @@ | |||
1 | # | ||
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
6 | |||
7 | DEPLOYDIR = "${WORKDIR}/deploy-${PN}" | ||
8 | SSTATETASKS += "do_deploy" | ||
9 | do_deploy[sstate-inputdirs] = "${DEPLOYDIR}" | ||
10 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}" | ||
11 | |||
12 | python do_deploy_setscene () { | ||
13 | sstate_setscene(d) | ||
14 | } | ||
15 | addtask do_deploy_setscene | ||
16 | do_deploy[dirs] = "${B}" | ||
17 | do_deploy[cleandirs] = "${DEPLOYDIR}" | ||
18 | do_deploy[stamp-extra-info] = "${MACHINE_ARCH}" | ||