summaryrefslogtreecommitdiff
path: root/packages/module-init-tools/module-init-tools-cross_3.1.bb
blob: 21a49171eba7c00ce53d3e995ef2b2271e931625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LICENSE = GPL
include module-init-tools_${PV}.bb
inherit cross
DEFAULT_PREFERENCE = "0"
PROVIDES += "virtual/${TARGET_PREFIX}depmod"

PR=r3

# When cross compiling depmod as shipped cannot handle endian
# differences between host and target, this fixes the problem.
# It also solves any possible issues with alignment (only likely
# if cross compiling for a low alignment target - e.g. x86, on
# a high alignment host - e.g. SPARC).
SRC_URI += " file://depmod-byteswap.patch;patch=1 "

EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}"

do_stage () {
        oe_runmake install
}

do_install () {
        :
}