summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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"