summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/dtc
diff options
context:
space:
mode:
authorAdrian Alonso <aalonso00@gmail.com>2010-09-09 09:26:00 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-10 13:00:49 +0100
commit6cbc2c3b565896c7c860487c6519b4349876ad72 (patch)
tree3208112af9623b53b407cdd23ed705a3d7ee448d /meta/recipes-kernel/dtc
parentc541b598c8e3f7b55ba6fe0727152bb3635130e1 (diff)
downloadpoky-6cbc2c3b565896c7c860487c6519b4349876ad72.tar.gz
dtc: device tree compiler recipes
* Device tree compiler recipes from OE * v2 reorder patchset * remove BBCLASSEXTENDDED from dtc-native.inc * v3 remove installing dtc in ${STAGING_BINDIR} * fix PR variable follow Poky guidelines * v4 fix PV variable Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/dtc')
-rw-r--r--meta/recipes-kernel/dtc/dtc-native.inc3
-rw-r--r--meta/recipes-kernel/dtc/dtc-native_git.bb2
-rw-r--r--meta/recipes-kernel/dtc/dtc.inc12
-rw-r--r--meta/recipes-kernel/dtc/dtc_git.bb2
-rw-r--r--meta/recipes-kernel/dtc/dtc_git.inc6
5 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-kernel/dtc/dtc-native.inc b/meta/recipes-kernel/dtc/dtc-native.inc
new file mode 100644
index 0000000000..1da7004316
--- /dev/null
+++ b/meta/recipes-kernel/dtc/dtc-native.inc
@@ -0,0 +1,3 @@
1require dtc.inc
2
3inherit native
diff --git a/meta/recipes-kernel/dtc/dtc-native_git.bb b/meta/recipes-kernel/dtc/dtc-native_git.bb
new file mode 100644
index 0000000000..2d6f09217f
--- /dev/null
+++ b/meta/recipes-kernel/dtc/dtc-native_git.bb
@@ -0,0 +1,2 @@
1require dtc-native.inc
2require dtc_git.inc
diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
new file mode 100644
index 0000000000..35cb3f0551
--- /dev/null
+++ b/meta/recipes-kernel/dtc/dtc.inc
@@ -0,0 +1,12 @@
1DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
2SECTION = "bootloader"
3PRIORITY = "optional"
4LICENSE = "GPL"
5DEPENDS = "flex-native bison-native"
6
7inherit autotools
8
9do_install() {
10 install -m 0755 -d ${D}${bindir}
11 install -m 755 dtc ${D}${bindir}/dtc
12}
diff --git a/meta/recipes-kernel/dtc/dtc_git.bb b/meta/recipes-kernel/dtc/dtc_git.bb
new file mode 100644
index 0000000000..a17a39d527
--- /dev/null
+++ b/meta/recipes-kernel/dtc/dtc_git.bb
@@ -0,0 +1,2 @@
1require dtc.inc
2require dtc_git.inc
diff --git a/meta/recipes-kernel/dtc/dtc_git.inc b/meta/recipes-kernel/dtc/dtc_git.inc
new file mode 100644
index 0000000000..38fad84590
--- /dev/null
+++ b/meta/recipes-kernel/dtc/dtc_git.inc
@@ -0,0 +1,6 @@
1SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git"
2SRCREV = "73dca9ae0b9abe6924ba640164ecce9f8df69c5a"
3PV = "1.2.0+git${SRCPV}"
4PR = "r1"
5
6S = "${WORKDIR}/git"