diff options
-rw-r--r-- | meta/recipes-kernel/dtc/dtc-native.inc | 3 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc-native_git.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc.inc | 12 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_git.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_git.inc | 6 |
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 @@ | |||
1 | require dtc.inc | ||
2 | |||
3 | inherit 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 @@ | |||
1 | require dtc-native.inc | ||
2 | require 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 @@ | |||
1 | DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels." | ||
2 | SECTION = "bootloader" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "GPL" | ||
5 | DEPENDS = "flex-native bison-native" | ||
6 | |||
7 | inherit autotools | ||
8 | |||
9 | do_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 @@ | |||
1 | require dtc.inc | ||
2 | require 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 @@ | |||
1 | SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git" | ||
2 | SRCREV = "73dca9ae0b9abe6924ba640164ecce9f8df69c5a" | ||
3 | PV = "1.2.0+git${SRCPV}" | ||
4 | PR = "r1" | ||
5 | |||
6 | S = "${WORKDIR}/git" | ||