diff options
-rw-r--r-- | meta-oe/recipes-support/eject/eject_2.1.5.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/eject/eject_2.1.5.bb b/meta-oe/recipes-support/eject/eject_2.1.5.bb index c47c65344..95345776b 100644 --- a/meta-oe/recipes-support/eject/eject_2.1.5.bb +++ b/meta-oe/recipes-support/eject/eject_2.1.5.bb | |||
@@ -16,6 +16,14 @@ S = "${WORKDIR}/${BPN}" | |||
16 | 16 | ||
17 | PR = "r1" | 17 | PR = "r1" |
18 | 18 | ||
19 | do_compile_prepend() { | ||
20 | # PO subdir must be in build directory | ||
21 | if [ ! ${S} = ${B} ]; then | ||
22 | mkdir -p ${B}/po | ||
23 | cp -r ${S}/po/* ${B}/po/ | ||
24 | fi | ||
25 | } | ||
26 | |||
19 | ALTERNATIVE_${PN} = "volname eject" | 27 | ALTERNATIVE_${PN} = "volname eject" |
20 | ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname" | 28 | ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname" |
21 | ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject" | 29 | ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject" |