summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/kmod/kmod-native_git.bb
blob: f0e274ed79b54c5afaea59024c569fbf0a8b809d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

require kmod.inc

DEPENDS += "zlib-native"

inherit native

SRC_URI += "file://Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch \
           "

do_install_append (){
	for tool in depmod insmod lsmod modinfo modprobe rmmod
	do
		ln -s kmod ${D}${bindir}/$tool
	done
}