From: Scott Garman <sgarman@zenlinux.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH/RFC] zlib: convert to BBCLASSEXTEND
Date: Thu, 11 Mar 2010 15:13:34 -0800 [thread overview]
Message-ID: <4B99791E.1020102@zenlinux.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 363 bytes --]
Hi all,
Attached is my first OE patch submission, to convert the zlib recipe to
use BBCLASSEXTEND and cleanup the do_stage() task.
I would like to start making regular contributions to OE, and am
starting with the basics. Any guidance from the more experienced folks
is gratefully accepted.
Scott
--
Scott Garman
sgarman at zenlinux dot com
[-- Attachment #2: zlib_bbclassextend.patch --]
[-- Type: text/x-patch, Size: 1312 bytes --]
commit 803f864960dcf58abc03003b2e3e62f2f26230f3
Author: Scott Garman <sgarman@zenlinux.com>
Date: Thu Mar 11 15:01:59 2010 -0800
Convert zlib recipe to use BBCLASSEXTEND and remove do_stage task.
diff --git a/recipes/zlib/zlib-native_1.2.3.bb b/recipes/zlib/zlib-native_1.2.3.bb
deleted file mode 100644
index d7e0777..0000000
--- a/recipes/zlib/zlib-native_1.2.3.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require zlib_${PV}.bb
-ZLIB_EXTRA = ""
-DEPENDS = "libtool-native"
-
-inherit native
diff --git a/recipes/zlib/zlib-sdk_1.2.3.bb b/recipes/zlib/zlib-sdk_1.2.3.bb
deleted file mode 100644
index 4863395..0000000
--- a/recipes/zlib/zlib-sdk_1.2.3.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require zlib_${PV}.bb
-LIB_EXTRA = ""
-
-inherit sdk
diff --git a/recipes/zlib/zlib_1.2.3.bb b/recipes/zlib/zlib_1.2.3.bb
index d995869..db4b16b 100644
--- a/recipes/zlib/zlib_1.2.3.bb
+++ b/recipes/zlib/zlib_1.2.3.bb
@@ -3,7 +3,7 @@ SECTION = "libs"
PRIORITY = "required"
HOMEPAGE = "http://www.gzip.org/zlib/"
LICENSE = "zlib"
-PR ="r5"
+PR ="r6"
SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
file://visibility.patch;patch=1 \
@@ -15,6 +15,4 @@ DEPENDS = "libtool-cross"
inherit autotools
-do_stage() {
- autotools_stage_all
-}
+BBCLASSEXTEND = "native sdk"
next reply other threads:[~2010-03-11 23:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 23:13 Scott Garman [this message]
2010-03-12 0:18 ` [PATCH/RFC] zlib: convert to BBCLASSEXTEND Khem Raj
2010-03-12 3:26 ` Scott Garman
2010-03-12 3:28 ` Scott Garman
2010-03-12 20:39 ` Khem Raj
2010-03-24 3:06 ` BBCLASSEXTEND sdk vs. nativesdk Scott Garman
2010-03-24 5:45 ` Khem Raj
2010-03-24 6:42 ` Scott Garman
2010-03-24 10:28 ` Richard Purdie
2010-03-24 10:53 ` jkridner
2010-03-24 19:27 ` Denys Dmytriyenko
2010-03-24 15:27 ` Tom Rini
2010-03-24 15:37 ` Richard Purdie
2010-03-24 15:57 ` Tom Rini
2010-03-24 18:05 ` Richard Purdie
2010-03-24 18:46 ` Tom Rini
2010-03-25 23:11 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B99791E.1020102@zenlinux.com \
--to=sgarman@zenlinux.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox