From: Hauke Mehrtens Date: Thu, 27 Sep 2018 20:44:25 +0000 (+0200) Subject: layerscape: kmod-ppfe: Fix kernel options X-Git-Tag: v19.07.0-rc1~2480 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d8274451cb86021107b5efd99694857f869ae6a1;p=oweals%2Fopenwrt.git layerscape: kmod-ppfe: Fix kernel options The CONFIG_FSL_PPFE and the CONFIG_FSL_PPFE_UTIL_DISABLED are boolean, so they should be selected with an =y in OpenWrt, otherwise OpenWrt will select them as =m. These options will make pfe.ko being build as a module even if this is boolean. Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/layerscape/modules.mk b/target/linux/layerscape/modules.mk index 7a368a0d29..5f2d472c95 100644 --- a/target/linux/layerscape/modules.mk +++ b/target/linux/layerscape/modules.mk @@ -9,7 +9,8 @@ define KernelPackage/ppfe SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Freescale PPFE Driver support DEPENDS:=@TARGET_layerscape - KCONFIG:=CONFIG_FSL_PPFE CONFIG_FSL_PPFE_UTIL_DISABLED + KCONFIG:=CONFIG_FSL_PPFE=y \ + CONFIG_FSL_PPFE_UTIL_DISABLED=y FILES:=$(LINUX_DIR)/drivers/staging/fsl_ppfe/pfe.ko AUTOLOAD:=$(call AutoLoad,35,pfe) endef