diff options
| author | Ash Charles <ashcharles@gmail.com> | 2014-06-14 04:34:08 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2014-06-23 17:47:13 -0400 |
| commit | 20b214200d52f39e2cd9dfe538e5e4230d223400 (patch) | |
| tree | e126a3c8768a342477657abadf3f750e9a090546 /recipes-ti | |
| parent | ec85fc2d3b884da85152e6e7e5ea16970d80fa8a (diff) | |
| download | meta-ti-20b214200d52f39e2cd9dfe538e5e4230d223400.tar.gz | |
ti-dmai: Allow do_prepsources to run release.sh
The do_prepsources task runs after do_unpack at which point the
${S}/patches directory has been created. In the last step of
do_prepsources, code should be copied over to ${S} by the release.sh
script. However, this script silently fails if the target directory
(${S}) is not empty---it contains the 'patches' directory. The
failure manifests in the do_patch step when trying to applying patches
against the source which wasn't populated by release.sh.
Here, we pre-emptively clean out the directory release.sh intends to
use. The patch directory is re-created by the do_patch step.
Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti')
| -rw-r--r-- | recipes-ti/dmai/ti-dmai.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-ti/dmai/ti-dmai.inc b/recipes-ti/dmai/ti-dmai.inc index 58955b58..f81b4cff 100644 --- a/recipes-ti/dmai/ti-dmai.inc +++ b/recipes-ti/dmai/ti-dmai.inc | |||
| @@ -74,6 +74,7 @@ do_prepsources() { | |||
| 74 | chmod a+x ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/release.sh | 74 | chmod a+x ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/release.sh |
| 75 | chmod a+x ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/tdox | 75 | chmod a+x ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/tdox |
| 76 | sed -i 's|tdox|./tdox|g' ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/release.sh | 76 | sed -i 's|tdox|./tdox|g' ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/release.sh |
| 77 | rm -rf ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}/* | ||
| 77 | (cd ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface; ./release.sh ${PV}) | 78 | (cd ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface; ./release.sh ${PV}) |
| 78 | } | 79 | } |
| 79 | 80 | ||
