summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kern-tools
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/kern-tools
parent19b4f42db4cc55c9c6e1fe994c2de13e6f132d34 (diff)
downloadast2050-yocto-poky-8885163a351d4ea4bcd36c0539f48e0f996020fd.zip
ast2050-yocto-poky-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/kern-tools')
-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 ef078ce..fb66211 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
DEPENDS = "git-native guilt-native"
-SRCREV = "364437739c45a5e771d1f7b3ac73c35f1328fd97"
-PR = r11
+SRCREV = "eb3ed64cea80d23ffb28dfeaeb02cdfe3fb29340"
+PR = r12
PV = "0.1+git${SRCPV}"
inherit native
@@ -13,19 +13,11 @@ inherit native
SRC_URI = "git://git.yoctoproject.org/yocto-kernel-tools.git;protocol=git"
S = "${WORKDIR}"
-kern_tools_LIST = kgit kgit-init kgit-meta \
- kgit-checkpoint kgit-clean \
- generate_cfg kconf_check configme \
- createme updateme patchme get_defconfig scc \
- pre_config merge_config.sh
-
do_compile() {
:
}
do_install() {
- install -d ${D}${bindir}
- for s in ${kern_tools_LIST}; do
- install -m 0755 ${S}/git/tools/$s ${D}${bindir}
- done
+ cd ${S}/git
+ make DESTDIR=${D}${bindir} install
}
OpenPOWER on IntegriCloud