M7350/oe-core/meta-msm/recipes/compat-wireless/compat-wireless.inc
2024-09-09 08:52:07 +00:00

30 lines
802 B
PHP

inherit autotools linux-kernel-base module
DESCRIPTION = "Linux Wireless compatibility package"
HOMEPAGE = "http://wireless.kernel.org/en/users/Download";
SECTION = "kernel/modules"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"
DEPENDS = "virtual/kernel"
RDEPENDS = "wireless-tools"
INC_PR = "r1"
SRC_URI = "file://${WORKSPACE}/external/compat-wireless"
COMPAT_WIRELESS_VERSION = "3.0"
inherit gitsha
PV = "git-${GITSHA}-${COMPAT_WIRELESS_VERSION}"
SRC_DIR = "${WORKSPACE}/external/compat-wireless"
S = "${WORKDIR}/compat-wireless"
EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
do_install() {
oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" \
LDFLAGS="" INSTALL_MOD_STRIP=1 install-modules
}