diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-12-19 08:42:51 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-19 13:56:59 -0800 |
| commit | a597de10ea52ce415a41ff1f3864967b302e97c7 (patch) | |
| tree | f4046a893b941d6b329aa3bef7e581a3e916cd4d | |
| parent | 989b67be6d0fcadfd3ab52d27663a06c1e8f61ca (diff) | |
| download | meta-openembedded-a597de10ea52ce415a41ff1f3864967b302e97c7.tar.gz | |
dfu-util-native,sjf2410-linux-native: Fix Deploy in multimachine builds
When more than two machine are built using same tmpdir and happen to use
these tools the builds fail
Fixes
ERROR: The recipe dfu-util-native is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
TOPDIR/build/tmp/deploy/tools/dfu-util-0.9
(matched in manifest-qemumips-dfu-util-native.deploy)
Please verify which recipe should provide the above files.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb | 9 | ||||
| -rw-r--r-- | meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb index 76faefefbb..feb16fa730 100644 --- a/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb +++ b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb | |||
| @@ -8,7 +8,6 @@ PACKAGECONFIG ??= "" | |||
| 8 | 8 | ||
| 9 | PACKAGECONFIG[static] = "CFLAGS='${CFLAGS} -pthread -static',," | 9 | PACKAGECONFIG[static] = "CFLAGS='${CFLAGS} -pthread -static',," |
| 10 | 10 | ||
| 11 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" | ||
| 12 | do_deploy() { | 11 | do_deploy() { |
| 13 | install -m 0755 src/dfu-util ${DEPLOYDIR}/dfu-util-${PV} | 12 | install -m 0755 src/dfu-util ${DEPLOYDIR}/dfu-util-${PV} |
| 14 | rm -f ${DEPLOYDIR}/dfu-util | 13 | rm -f ${DEPLOYDIR}/dfu-util |
| @@ -16,3 +15,11 @@ do_deploy() { | |||
| 16 | } | 15 | } |
| 17 | 16 | ||
| 18 | addtask deploy before do_package after do_install | 17 | addtask deploy before do_package after do_install |
| 18 | |||
| 19 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" | ||
| 20 | # cleandirs should possibly be in deploy.bbclass but we need it | ||
| 21 | do_deploy[cleandirs] = "${DEPLOYDIR}" | ||
| 22 | # clear stamp-extra-info since MACHINE_ARCH is normally put there by | ||
| 23 | # deploy.bbclass | ||
| 24 | do_deploy[stamp-extra-info] = "" | ||
| 25 | |||
diff --git a/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb b/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb index 9e609c4dd8..3a5172eecc 100644 --- a/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb +++ b/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb | |||
| @@ -13,7 +13,6 @@ SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol= | |||
| 13 | S = "${WORKDIR}/sjf2410-linux" | 13 | S = "${WORKDIR}/sjf2410-linux" |
| 14 | 14 | ||
| 15 | inherit native deploy | 15 | inherit native deploy |
| 16 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" | ||
| 17 | 16 | ||
| 18 | CFLAGS += "-DLINUX_PPDEV" | 17 | CFLAGS += "-DLINUX_PPDEV" |
| 19 | 18 | ||
| @@ -31,3 +30,11 @@ do_deploy() { | |||
| 31 | } | 30 | } |
| 32 | 31 | ||
| 33 | addtask deploy before do_build after do_install | 32 | addtask deploy before do_build after do_install |
| 33 | |||
| 34 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" | ||
| 35 | # cleandirs should possibly be in deploy.bbclass but we need it | ||
| 36 | do_deploy[cleandirs] = "${DEPLOYDIR}" | ||
| 37 | # clear stamp-extra-info since MACHINE_ARCH is normally put there by | ||
| 38 | # deploy.bbclass | ||
| 39 | do_deploy[stamp-extra-info] = "" | ||
| 40 | |||
