package/rtl8821cu: copy modprobe.d config to target
The rtl8821cu repository comes with a 8821cu.conf file intended to be installed in /etc/modprobe.d - the configuration file enables some driver features. Install the /etc/modprobe.d/8821cu.conf file to the target. Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
2284dce40b
commit
5d615c17ee
@ -29,5 +29,11 @@ RTL8821CU_MODULE_MAKE_OPTS = \
|
||||
KVER=$(LINUX_VERSION_PROBED) \
|
||||
USER_EXTRA_CFLAGS="$(RTL8821CU_USER_EXTRA_CFLAGS)"
|
||||
|
||||
define RTL8821CU_INSTALL_MODPROBE_CONF
|
||||
$(INSTALL) -m 0644 -D $(@D)/8821cu.conf \
|
||||
$(TARGET_DIR)/etc/modprobe.d/8821cu.conf
|
||||
endef
|
||||
RTL8821CU_POST_INSTALL_TARGET_HOOKS += RTL8821CU_INSTALL_MODPROBE_CONF
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user