All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux-libc-headers: Update doc for recipe depends
@ 2016-06-22 16:08 Patrick Williams
  2016-06-22 16:31 ` [PATCH v2] " Patrick Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Williams @ 2016-06-22 16:08 UTC (permalink / raw)
  To: openembedded-core; +Cc: Patrick Williams

The previous documentation has not been accurate since at least
commit 46cdaf1.  Recipes that follow the old documentation will
not correctly build when sstate is enabled because the kernel
source will not actually be available.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
---
 meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index 2ba6ed5..92acf8a 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -18,9 +18,10 @@ LICENSE = "GPLv2"
 # But you have some kernel headers you need for some driver? That is fine
 # but get them from STAGING_KERNEL_DIR where the kernel installs itself.
 # This will make the package using them machine specific but this is much
-# better than having a machine specific C library. This does mean your 
-# recipe needs a DEPENDS += "virtual/kernel" but again, that is fine and
-# makes total sense.
+# better than having a machine specific C library. This does mean your
+# recipe needs a
+#    do_configure[depends] += "virtual/kernel:do_shared_workdir"
+# but again, that is fine and makes total sense.
 #
 # There can also be a case where your kernel extremely old and you want
 # an older libc ABI for that old kernel. The headers installed by this
-- 
2.8.2




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v2] linux-libc-headers: Update doc for recipe depends
  2016-06-22 16:08 [PATCH] linux-libc-headers: Update doc for recipe depends Patrick Williams
@ 2016-06-22 16:31 ` Patrick Williams
  2016-06-22 16:34   ` Patrick Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Williams @ 2016-06-22 16:31 UTC (permalink / raw)
  To: openembedded-core; +Cc: Patrick Williams

The previous documentation has not been accurate since at least
commit 6a1ff0e.  Recipes that follow the old documentation will
not correctly build when sstate is enabled because the kernel
source will not actually be available.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
---
 meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index 2ba6ed5..92acf8a 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -18,9 +18,10 @@ LICENSE = "GPLv2"
 # But you have some kernel headers you need for some driver? That is fine
 # but get them from STAGING_KERNEL_DIR where the kernel installs itself.
 # This will make the package using them machine specific but this is much
-# better than having a machine specific C library. This does mean your 
-# recipe needs a DEPENDS += "virtual/kernel" but again, that is fine and
-# makes total sense.
+# better than having a machine specific C library. This does mean your
+# recipe needs a
+#    do_configure[depends] += "virtual/kernel:do_shared_workdir"
+# but again, that is fine and makes total sense.
 #
 # There can also be a case where your kernel extremely old and you want
 # an older libc ABI for that old kernel. The headers installed by this
-- 
2.8.2




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] linux-libc-headers: Update doc for recipe depends
  2016-06-22 16:31 ` [PATCH v2] " Patrick Williams
@ 2016-06-22 16:34   ` Patrick Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Williams @ 2016-06-22 16:34 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

On Wed, Jun 22, 2016 at 11:31:46AM -0500, Patrick Williams wrote:
> The previous documentation has not been accurate since at least
> commit 6a1ff0e.  Recipes that follow the old documentation will
> not correctly build when sstate is enabled because the kernel
> source will not actually be available.
> 
> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
> ---

I referenced a Yocto commit number instead of an OECore one in v1,
hence v2 fixes that.  Sorry for the extra noise.

-- 
Patrick Williams

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-22 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22 16:08 [PATCH] linux-libc-headers: Update doc for recipe depends Patrick Williams
2016-06-22 16:31 ` [PATCH v2] " Patrick Williams
2016-06-22 16:34   ` Patrick Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.