1 RDEPENDS += "kernel (${KERNEL_VERSION}) update-modules"
2 DEPENDS += "virtual/kernel"
7 KERNEL_PATH=${STAGING_KERNEL_DIR}\
8 KERNEL_SRC=${STAGING_KERNEL_DIR}\
9 KDIR=${STAGING_KERNEL_DIR}\
10 KERNELDIR=${STAGING_KERNEL_DIR}\
11 KERNEL_VERSION=${KERNEL_VERSION}\
12 CC="${KERNEL_CC}" LD="${KERNEL_LD}"\
17 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
18 oe_runmake ${MODULE_MAKE_FLAGS} ${MAKE_TARGETS}
22 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
23 oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" ${MODULE_MAKE_FLAGS} modules_install
26 pkg_postinst_append () {
30 depmod -a ${KERNEL_VERSION}
31 update-modules || true
35 pkg_postrm_append () {
36 update-modules || true
39 EXPORT_FUNCTIONS do_compile do_install
41 FILES_${PN} = "/etc /lib/modules"