diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 7a8cb35d99..9e4ca955db 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -319,12 +319,26 @@ | |||
319 | DEPENDS_append_one = " foo" | 319 | DEPENDS_append_one = " foo" |
320 | DEPENDS_prepend_one = "foo " | 320 | DEPENDS_prepend_one = "foo " |
321 | </literallayout> | 321 | </literallayout> |
322 | As an actual example, here's a line from the recipe | 322 | As an actual example, here's a snippet from the |
323 | for gnutls, which adds dependencies on | 323 | generic kernel include file |
324 | "argp-standalone" when building with the musl C | 324 | <filename>linux-yocto.inc</filename>, |
325 | library: | 325 | wherein the kernel compile and link options are |
326 | adjusted in the case of a subset of the supported | ||
327 | architectures: | ||
326 | <literallayout class='monospaced'> | 328 | <literallayout class='monospaced'> |
327 | DEPENDS_append_libc-musl = " argp-standalone" | 329 | DEPENDS_append_aarch64 = " libgcc" |
330 | KERNEL_CC_append_aarch64 = " ${TOOLCHAIN_OPTIONS}" | ||
331 | KERNEL_LD_append_aarch64 = " ${TOOLCHAIN_OPTIONS}" | ||
332 | |||
333 | DEPENDS_append_nios2 = " libgcc" | ||
334 | KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}" | ||
335 | KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}" | ||
336 | |||
337 | DEPENDS_append_arc = " libgcc" | ||
338 | KERNEL_CC_append_arc = " ${TOOLCHAIN_OPTIONS}" | ||
339 | KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}" | ||
340 | |||
341 | KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" | ||
328 | </literallayout> | 342 | </literallayout> |
329 | <note> | 343 | <note> |
330 | Avoiding "+=" and "=+" and using | 344 | Avoiding "+=" and "=+" and using |