diff options
Diffstat (limited to 'documentation/dev-manual/prebuilt-libraries.rst')
-rw-r--r-- | documentation/dev-manual/prebuilt-libraries.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/dev-manual/prebuilt-libraries.rst b/documentation/dev-manual/prebuilt-libraries.rst index a05f39ca1e..59621ca16d 100644 --- a/documentation/dev-manual/prebuilt-libraries.rst +++ b/documentation/dev-manual/prebuilt-libraries.rst | |||
@@ -97,7 +97,7 @@ The complete recipe would look like this:: | |||
97 | # we use a local link. | 97 | # we use a local link. |
98 | SRC_URI = "file://libft4222-linux-${PV}.tgz" | 98 | SRC_URI = "file://libft4222-linux-${PV}.tgz" |
99 | 99 | ||
100 | S = "${WORKDIR}" | 100 | S = "${UNPACKDIR}" |
101 | 101 | ||
102 | ARCH_DIR:x86-64 = "build-x86_64" | 102 | ARCH_DIR:x86-64 = "build-x86_64" |
103 | ARCH_DIR:i586 = "build-i386" | 103 | ARCH_DIR:i586 = "build-i386" |
@@ -170,7 +170,7 @@ as follows:: | |||
170 | The modifications cause the ``.so`` file to be the real library | 170 | The modifications cause the ``.so`` file to be the real library |
171 | and unset :term:`FILES_SOLIBSDEV` so that no libraries get packaged into | 171 | and unset :term:`FILES_SOLIBSDEV` so that no libraries get packaged into |
172 | ``${PN}-dev``. The changes are required because unless :term:`PACKAGES` is changed, | 172 | ``${PN}-dev``. The changes are required because unless :term:`PACKAGES` is changed, |
173 | ``${PN}-dev`` collects files before `${PN}`. ``${PN}-dev`` must not collect any of | 173 | ``${PN}-dev`` collects files before ``${PN}``. ``${PN}-dev`` must not collect any of |
174 | the files you want in ``${PN}``. | 174 | the files you want in ``${PN}``. |
175 | 175 | ||
176 | Finally, loadable modules, essentially unversioned libraries that are linked | 176 | Finally, loadable modules, essentially unversioned libraries that are linked |
@@ -204,6 +204,6 @@ versioned library example. The "magic" is setting the :term:`SOLIBS` and | |||
204 | 204 | ||
205 | do_install () { | 205 | do_install () { |
206 | install -d ${D}${libdir} | 206 | install -d ${D}${libdir} |
207 | install -m 0755 ${WORKDIR}/libfoo.so ${D}${libdir} | 207 | install -m 0755 ${UNPACKDIR}/libfoo.so ${D}${libdir} |
208 | } | 208 | } |
209 | 209 | ||