diff options
author | Adrian Alonso <aalonso00@gmail.com> | 2010-09-09 09:26:00 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-10 13:00:49 +0100 |
commit | 6cbc2c3b565896c7c860487c6519b4349876ad72 (patch) | |
tree | 3208112af9623b53b407cdd23ed705a3d7ee448d /meta | |
parent | c541b598c8e3f7b55ba6fe0727152bb3635130e1 (diff) | |
download | poky-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')
-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" | ||