[oe] [meta-oe][PATCH] makedev: add new recipe

Martin Jansa martin.jansa at gmail.com
Fri Dec 19 19:12:40 UTC 2014


On Wed, Dec 17, 2014 at 10:04:53AM +0800, Li xin wrote:
> makedev is a tool for creating the necessary static
> device nodes, usually residing in the /dev directory.

Can this be used as replacement for
openembedded-core/meta/recipes-devtools/makedevs
?

And if yes, shouldn't it be applied there?

> Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
> ---
>  meta-oe/recipes-support/makedev/makedev_3.24.bb | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 meta-oe/recipes-support/makedev/makedev_3.24.bb
> 
> diff --git a/meta-oe/recipes-support/makedev/makedev_3.24.bb b/meta-oe/recipes-support/makedev/makedev_3.24.bb
> new file mode 100644
> index 0000000..18395df
> --- /dev/null
> +++ b/meta-oe/recipes-support/makedev/makedev_3.24.bb
> @@ -0,0 +1,15 @@
> +DESCRIPTION = "MAKEDEV is a script for creating the necessary static \
> +device nodes, usually residing in the /dev directory."
> +LICENSE = "GPL-2.0"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +SECTION = "base"
> +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/MAKEDEV/MAKEDEV-${PV}-1.tar.gz/38546d1306ead17afbc34f60c06fcb20/MAKEDEV-${PV}-1.tar.gz"
> +SRC_URI[md5sum] = "38546d1306ead17afbc34f60c06fcb20"
> +SRC_URI[sha256sum] = "554f9b4a7344addf6a7ea2264f21c726939976cfdd08520e3ed8dd38c5605ffa"
> +
> +inherit autotools-brokensep pkgconfig
> +S = "${WORKDIR}/MAKEDEV-3.24"
> +do_install () {
> +    oe_runmake DESTDIR=${D} makedevdir=/sbin install
> +    rm -fr ${D}/dev
> +}
> -- 
> 1.8.4.2
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20141219/122df2c9/attachment-0002.sig>


More information about the Openembedded-devel mailing list