summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod/kmod-native_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-01-31 00:34:01 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-07 16:42:47 +0100
commitb4bc0a7f1b90a51e26d6ab74d964ff81cfe05904 (patch)
tree1d35b1b012dbee2f8b0873dcf069a81badf8dc62 /meta/recipes-kernel/kmod/kmod-native_git.bb
parent7903a285eefaa9e62bbe9e399233627b330dc9bb (diff)
downloadpoky-b4bc0a7f1b90a51e26d6ab74d964ff81cfe05904.tar.gz
kmod: Add recipes
kmod is replacement for module-init-tools (From OE-Core rev: 716606f5446534e48b45fcc017e8bbdfe7f15e26) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod-native_git.bb')
-rw-r--r--meta/recipes-kernel/kmod/kmod-native_git.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod-native_git.bb b/meta/recipes-kernel/kmod/kmod-native_git.bb
new file mode 100644
index 0000000000..96de8b8ef4
--- /dev/null
+++ b/meta/recipes-kernel/kmod/kmod-native_git.bb
@@ -0,0 +1,14 @@
1# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4require kmod.inc
5inherit native
6
7PR = "${INC_PR}.0"
8
9do_install_append (){
10 for tool in depmod insmod lsmod modinfo modprobe rmmod
11 do
12 ln -s kmod ${D}${bindir}/$tool
13 done
14}