summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2011-11-22 17:35:07 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-02 15:20:27 +0000
commit8885163a351d4ea4bcd36c0539f48e0f996020fd (patch)
tree62028032ac17770bb516f7a3635dcce48c58b2ab /meta/recipes-kernel
parent19b4f42db4cc55c9c6e1fe994c2de13e6f132d34 (diff)
downloadpoky-8885163a351d4ea4bcd36c0539f48e0f996020fd.tar.gz
kern-tools: use Makefile provided install rules
Previously the install of the kern-tools was manual and fully controlled by whatever build system was integrating/using the utilities. To make this more generic a Makefile is now provided to take care of installing and removing to DESTDIR. Updating the kern-tools recipe to take advantage of this new facility. (From OE-Core rev: 8af13cc0038111cbb13d9718256d491d326ed5e8) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/kern-tools/kern-tools-native_git.bb16
1 files changed, 4 insertions, 12 deletions
diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index ef078cef2a..fb66211e7d 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=e2bf4415f3d8
4 4
5DEPENDS = "git-native guilt-native" 5DEPENDS = "git-native guilt-native"
6 6
7SRCREV = "364437739c45a5e771d1f7b3ac73c35f1328fd97" 7SRCREV = "eb3ed64cea80d23ffb28dfeaeb02cdfe3fb29340"
8PR = r11 8PR = r12
9PV = "0.1+git${SRCPV}" 9PV = "0.1+git${SRCPV}"
10 10
11inherit native 11inherit native
@@ -13,19 +13,11 @@ inherit native
13SRC_URI = "git://git.yoctoproject.org/yocto-kernel-tools.git;protocol=git" 13SRC_URI = "git://git.yoctoproject.org/yocto-kernel-tools.git;protocol=git"
14S = "${WORKDIR}" 14S = "${WORKDIR}"
15 15
16kern_tools_LIST = kgit kgit-init kgit-meta \
17 kgit-checkpoint kgit-clean \
18 generate_cfg kconf_check configme \
19 createme updateme patchme get_defconfig scc \
20 pre_config merge_config.sh
21
22do_compile() { 16do_compile() {
23 : 17 :
24} 18}
25 19
26do_install() { 20do_install() {
27 install -d ${D}${bindir} 21 cd ${S}/git
28 for s in ${kern_tools_LIST}; do 22 make DESTDIR=${D}${bindir} install
29 install -m 0755 ${S}/git/tools/$s ${D}${bindir}
30 done
31} 23}