[oe] [meta-oe][PATCH v3] hwdata: add new recipe

Khem Raj raj.khem at gmail.com
Tue Apr 26 16:50:54 UTC 2016


> On Apr 26, 2016, at 1:43 AM, Dai Caiyun <daicy.fnst at cn.fujitsu.com> wrote:
> 
> Signed-off-by: Dai Caiyun <daicy.fnst at cn.fujitsu.com>
> ---
> meta-oe/recipes-support/hwdata/hwdata_0.288.bb | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
> create mode 100644 meta-oe/recipes-support/hwdata/hwdata_0.288.bb
> 
> diff --git a/meta-oe/recipes-support/hwdata/hwdata_0.288.bb b/meta-oe/recipes-support/hwdata/hwdata_0.288.bb
> new file mode 100644
> index 0000000..67199e9
> --- /dev/null
> +++ b/meta-oe/recipes-support/hwdata/hwdata_0.288.bb
> @@ -0,0 +1,21 @@
> +DESCRIPTION = "Hardware identification and configuration data"
> +HOMEPAGE = "http://git.fedorahosted.org/git/hwdata.git"
> +SECTION = "System/Base"
> +
> +LICENSE = "GPL-2.0+"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
> +SRC_URI = "https://git.fedorahosted.org/cgit/${BPN}.git/snapshot/${BP}.tar.gz"
> +
> +SRC_URI[md5sum] = "f3fa1c5edb66ce5b376d95e772b2d303"
> +SRC_URI[sha256sum] = "56fc26275b102e538fcfcf9c1093a09f476a1ea8d4e0c733d3c578442923693d"
> +
> +do_configure() {
> +    ${S}/configure --datadir=${datadir} --libdir=${libdir}
> +}

is it using autotools ? if so then inherit autotools might be a good options
and remove the do_ functions here.

> +
> +do_install() {
> +    oe_runmake install DESTDIR=${D}
> +}
> +
> +FILES_${PN} = "${libdir}/* \
> +               ${datadir}/* "
> --
> 1.9.1
> 
> 
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160426/3b632760/attachment-0002.sig>


More information about the Openembedded-devel mailing list