mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00

There is a pending bitbake patch which will warning on assignment whitespace issues. Fix the handful of issues in meta-intel to avoid the warnings and improve readability. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
55 lines
1.6 KiB
BlitzBasic
55 lines
1.6 KiB
BlitzBasic
SUMMARY = "Intel Wireless LinuxCore kernel driver"
|
|
DESCRIPTION = "Intel Wireless LinuxCore kernel driver"
|
|
SECTION = "kernel"
|
|
LICENSE = "GPL-2.0-only"
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wifi"
|
|
|
|
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
|
|
|
inherit module features_check
|
|
|
|
# For some iwfwifi LinuxCore supported wireless chips, the best/latest
|
|
# firmware blobs are found in the iwlwifi's linux-firmware.git fork.
|
|
#
|
|
# See: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release
|
|
#
|
|
# When updating this recipe, ensure that the proper firmware is included from
|
|
# either the linux-firmware or iwlwifi-firmware repos.
|
|
|
|
PV = "79"
|
|
SRCREV = "574631d89d736fd2c76b0e2ea489270c50903e52"
|
|
|
|
SRC_URI = " \
|
|
git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi;branch=release/core${PV} \
|
|
file://0001-Makefile.real-skip-host-install-scripts.patch \
|
|
file://iwlwifi.conf \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OEMAKE = "INSTALL_MOD_PATH=${D} KLIB_BUILD=${KBUILD_OUTPUT}"
|
|
|
|
do_configure() {
|
|
CC=gcc CFLAGS= LDFLAGS= make defconfig-iwlwifi-public KLIB_BUILD=${KBUILD_OUTPUT}
|
|
}
|
|
|
|
MODULES_INSTALL_TARGET = "install"
|
|
|
|
do_install:append() {
|
|
## install configs and service scripts
|
|
install -d ${D}${sysconfdir}/modprobe.d
|
|
install -m 0644 ${WORKDIR}/iwlwifi.conf ${D}${sysconfdir}/modprobe.d
|
|
}
|
|
|
|
RDEPENDS:${PN} = "linux-firmware-iwlwifi"
|
|
|
|
FILES:${PN} += "${sysconfdir}/modprobe.d/iwlwifi.conf"
|
|
|
|
KERNEL_MODULE_AUTOLOAD:append:core2-32-intel-common = " iwlwifi"
|
|
KERNEL_MODULE_AUTOLOAD:append:corei7-64-intel-common = " iwlwifi"
|
|
|
|
KERNEL_MODULE_PACKAGE_PREFIX = "backport-iwlwifi"
|
|
|
|
EXCLUDE_FROM_WORLD = "1"
|