Browse Source

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 <[email protected]>
Hauke Mehrtens 7 years ago
parent
commit
d8274451cb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      target/linux/layerscape/modules.mk

+ 2 - 1
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