Skip to contentSkip to conversation

libunwind: new recipe

PATCH In review Steffen Sledz 7 participants 8 messages Mar 17, 2010 – Mar 19, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libunwind: new recipe

a portable and efficient C programming interface (API) to determine the call-chain of a program

---
 recipes/libunwind/libunwind.inc     |   13 +++++++++++++
 recipes/libunwind/libunwind_0.99.bb |    5 +++++
 2 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libunwind/libunwind.inc
 create mode 100644 recipes/libunwind/libunwind_0.99.bb
recipes/libunwind/libunwind.inc new file +13 -0
new file mode 100644
index 0000000..8513dc2
@@ -0,0 +1,13 @@
+DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
+DEPENDS = ""
+HOMEPAGE = "http://www.nongnu.org/libunwind"
+LICENSE = "MIT"
+INC_PR = "r1"
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/${PN}-${PV}.tar.gz;name=archive"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
recipes/libunwind/libunwind_0.99.bb new file +5 -0
new file mode 100644
index 0000000..b7d0612
@@ -0,0 +1,5 @@
+require libunwind.inc
+PR = "${INC_PR}.0"
+
+SRC_URI[archive.md5sum] = "3e9ca08118e22165a7f07d01d61a2d0d"
+SRC_URI[archive.sha256sum] = "56083aae17eab3ccb7a36b95f0430f5a5f258755bf193bb5ca4fd4b918356164"
Signature · 1 line
1.6.4.2
#1 lore raw
Quoted 17 lines · Steffen Sledz

a portable and efficient C programming interface (API) to determine the call-chain of a program

---
 recipes/libunwind/libunwind.inc     |   13 +++++++++++++ recipes/libunwind/libunwind_0.99.bb |    5 +++++

 2 files changed, 18 insertions(+), 0 deletions(-)

 create mode 100644 recipes/libunwind/libunwind.inc create mode 100644 recipes/libunwind/libunwind_0.99.bb

recipes/libunwind/libunwind.inc new file +0 -0
new file mode 100644
index 0000000..8513dc2

recipes/libunwind/libunwind.inc line 5

Quoted 5 lines
recipes/libunwind/libunwind.inc new file +5 -0
@@ -0,0 +1,13 @@
+DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
+DEPENDS = ""
+HOMEPAGE = "http://www.nongnu.org/libunwind"
+LICENSE = "MIT"
+INC_PR = "r1"

a new recipe should start with r0

recipes/libunwind/libunwind.inc line 7

Quoted 2 lines
recipes/libunwind/libunwind.inc new file +2 -0
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/${PN}-${PV}.tar.gz;name=archive"

may be use name=libunwind for better readability

recipes/libunwind/libunwind.inc line 13

Quoted 6 lines
recipes/libunwind/libunwind.inc new file +6 -0
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools
+
+BBCLASSEXTEND = "native"

is native recipe needed by some other recipe ?

Quoted 20 lines
recipes/libunwind/libunwind_0.99.bb new file +5 -1
new file mode 100644
index 0000000..b7d0612
@@ -0,0 +1,5 @@
+require libunwind.inc
+PR = "${INC_PR}.0"
+
+SRC_URI[archive.md5sum] = "3e9ca08118e22165a7f07d01d61a2d0d"
+SRC_URI[archive.sha256sum] = "56083aae17eab3ccb7a36b95f0430f5a5f258755bf193bb5ca4fd4b918356164"
--

1.6.4.2

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to Steffen Sledz

Am Mittwoch, den 17.03.2010, 21:22 +0100 schrieb Steffen Sledz:

[…]

recipes/libunwind/libunwind.inc line 2

Quoted 8 lines
recipes/libunwind/libunwind.inc new file +2 -0
new file mode 100644
index 0000000..8513dc2
@@ -0,0 +1,13 @@
+DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
+DEPENDS = ""

Remove this empty variable?

[…]

recipes/libunwind/libunwind.inc line 9

Quoted 3 lines
recipes/libunwind/libunwind.inc new file +3 -0
+SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/${PN}-${PV}.tar.gz;name=archive"
+
+S = "${WORKDIR}/${PN}-${PV}"

You can make this shorter. ${P} = ${PN}-${PV}

[…]

Thanks,

Paul

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Paul Menzel

Am Mittwoch, den 17.03.2010, 21:22 +0100 schrieb Steffen Sledz:

[…]

Quoted 10 lines

recipes/libunwind/libunwind.inc line 2

Quoted 8 lines
recipes/libunwind/libunwind.inc new file +2 -0
new file mode 100644
index 0000000..8513dc2
@@ -0,0 +1,13 @@
+DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
+DEPENDS = ""

Remove this empty variable?

I think that's meant to do what INHIBIT_DEFAULT_DEPS does, but I'm not sure.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLo01qMkyGM64RGpERAo2SAJ9IEYb7Se8ypeGth88+jLTZkQnKagCgu7PI shvce9VECx1SsiqSIA+qJxM=
=F4El
-----END PGP SIGNATURE-----

#4 lore raw
Quoted 19 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Paul Menzel

Am Mittwoch, den 17.03.2010, 21:22 +0100 schrieb Steffen Sledz:

[…]

Quoted 10 lines

recipes/libunwind/libunwind.inc line 2

Quoted 8 lines
recipes/libunwind/libunwind.inc new file +2 -0
new file mode 100644
index 0000000..8513dc2
@@ -0,0 +1,13 @@
+DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
+DEPENDS = ""

Remove this empty variable?

Quoted 1 line

I think that's meant to do what INHIBIT_DEFAULT_DEPS does, but I'm not sure.

FWIW, it won't do that. It does appear to be totally purposeless.

Cheers,

Richard

#5 lore raw

2010/3/19 Richard Purdie <[email protected]>:

Quoted 20 lines · Koen Kooi
Quoted 19 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 14 lines · Paul Menzel

Am Mittwoch, den 17.03.2010, 21:22 +0100 schrieb Steffen Sledz:

[…]

recipes/libunwind/libunwind.inc line 2

Quoted 8 lines
recipes/libunwind/libunwind.inc new file +2 -0
new file mode 100644
index 0000000..8513dc2
@@ -0,0 +1,13 @@
+DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
+DEPENDS = ""

Remove this empty variable?

Quoted 3 lines
Quoted 1 line

I think that's meant to do what INHIBIT_DEFAULT_DEPS does, but I'm not sure.

FWIW, it won't do that. It does appear to be totally purposeless.

Triggered by this discussion and having a few minutes to spare while waiting for a test to complete, I did a quick grep on *.bbclass to find out how many vars there are out there. I only counted uppercase vars, so not things like ${bindir}. And ofc some of the vars are probably not for public usage.
I was left with about 380 vars. See the list attached.
Guess most of them are undocumented (and actually 380 seems an awful lot to me).

Not sure if this is useful, but decided to pass it on anyway (and if you don't like it just hit delete :-) )

Frans

#6 lore raw
Quoted 2 lines · Frans Meulenbroeks

I was left with about 380 vars. See the list attached.
Guess most of them are undocumented (and actually 380 seems an awful lot to me).

That's an interesting list. It's hard to say how many of those are actually intended for public consumption.

Some of them, like KERNEL_VERISON (sic), presumably are bogus and serve no useful purpose. Some of them look like they are probably meant to be internal to the class in question and shouldn't be used or set by anything else.

But you're right, more documentation would be better.

p.

#7 lore raw
In reply to Koen Kooi
Quoted 4 lines · Koen Kooi
Quoted 2 lines
Quoted 1 line

+DEPENDS = ""

Remove this empty variable?

I think that's meant to do what INHIBIT_DEFAULT_DEPS does, but I'm not sure.

This was not meant here.

If this is the meaning i've to prepare a patch which removes this line immediately because the recipe was pushed yesterday to dev.

Steffen