From d8274451cb86021107b5efd99694857f869ae6a1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 27 Sep 2018 22:44:25 +0200 Subject: [PATCH] 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 --- target/linux/layerscape/modules.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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