diff mbox

[1/1] dtc: Added new recipe

Message ID 4aebfda76a1a4717fe17fe0b9b6ee2fc51d5ad9d.1355828700.git.christian.braunersorensen@prevas.dk
State Accepted
Headers show

Commit Message

christian.braunersorensen@prevas.dk Dec. 18, 2012, 11:12 a.m. UTC
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

---
 recipes/dtc/dtc.inc     | 16 ++++++++++++++++
 recipes/dtc/dtc_head.oe |  3 +++
 2 files changed, 19 insertions(+)
 create mode 100644 recipes/dtc/dtc.inc
 create mode 100644 recipes/dtc/dtc_head.oe

Comments

Esben Haabendal Dec. 18, 2012, 11:25 a.m. UTC | #1
<christian.braunersorensen@prevas.dk> writes:

> From: Christian Sørensen <christian.braunersorensen@prevas.dk>
>
> ---
>  recipes/dtc/dtc.inc     | 16 ++++++++++++++++
>  recipes/dtc/dtc_head.oe |  3 +++
>  2 files changed, 19 insertions(+)
>  create mode 100644 recipes/dtc/dtc.inc
>  create mode 100644 recipes/dtc/dtc_head.oe
>
> diff --git a/recipes/dtc/dtc.inc b/recipes/dtc/dtc.inc
> new file mode 100644
> index 0000000..567d55c
> --- /dev/null
> +++ b/recipes/dtc/dtc.inc
> @@ -0,0 +1,16 @@
> +SUMMARY = "Device Tree Compiler"
> +DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
> +LICENSE = "GPLv2 | BSD"
> +DEPENDS = "native:flex native:bison"
> +
> +RECIPE_TYPES = "native sdk"
> +
> +inherit c make
> +
> +SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git${SRCREV}"
> +
> +S = "${SRCDIR}/dtc"
> +
> +PACKAGES =+ "${PN}-misc"
> +FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
> +FILES_${PN}-dev += "/include"
> diff --git a/recipes/dtc/dtc_head.oe b/recipes/dtc/dtc_head.oe
> new file mode 100644
> index 0000000..f823dbf
> --- /dev/null
> +++ b/recipes/dtc/dtc_head.oe
> @@ -0,0 +1,3 @@
> +require dtc.inc
> +
> +SRCREV = ";commit=e4b497f367a3b2ae99cc52089a14a221b13a76ef"

Merged to master, thanks.

/Esben
diff mbox

Patch

diff --git a/recipes/dtc/dtc.inc b/recipes/dtc/dtc.inc
new file mode 100644
index 0000000..567d55c
--- /dev/null
+++ b/recipes/dtc/dtc.inc
@@ -0,0 +1,16 @@ 
+SUMMARY = "Device Tree Compiler"
+DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
+LICENSE = "GPLv2 | BSD"
+DEPENDS = "native:flex native:bison"
+
+RECIPE_TYPES = "native sdk"
+
+inherit c make
+
+SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git${SRCREV}"
+
+S = "${SRCDIR}/dtc"
+
+PACKAGES =+ "${PN}-misc"
+FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
+FILES_${PN}-dev += "/include"
diff --git a/recipes/dtc/dtc_head.oe b/recipes/dtc/dtc_head.oe
new file mode 100644
index 0000000..f823dbf
--- /dev/null
+++ b/recipes/dtc/dtc_head.oe
@@ -0,0 +1,3 @@ 
+require dtc.inc
+
+SRCREV = ";commit=e4b497f367a3b2ae99cc52089a14a221b13a76ef"