Openwrt/target/linux/layerscape/modules.mk
Pawel Dembicki 2d72671b6e layerscape: add layerscape's SATA driver package
This patch intruduce SATA support for layerscape devices.
Target specific package with ahci_qoriq driver was added
to local modules.mk.
Kmod package was added to default packages for devices with
SATA interface.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Reviewed-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-10-02 17:08:28 +02:00

39 lines
1.0 KiB
Makefile

#
# Copyright (C) Jiang Yutang <jiangyutang1978@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define KernelPackage/ahci-qoriq
SUBMENU:=$(BLOCK_MENU)
TITLE:=Freescale QorIQ AHCI SATA support
KCONFIG:=CONFIG_AHCI_QORIQ
FILES:=$(LINUX_DIR)/drivers/ata/ahci_qoriq.ko
AUTOLOAD:=$(call AutoLoad,40,ahci-qoriq,1)
$(call AddDepends/ata,+kmod-ata-ahci-platform @TARGET_layerscape)
endef
define KernelPackage/ahci-qoriq/description
This option enables support for the Freescale QorIQ AHCI SoC's
onboard AHCI SATA.
endef
$(eval $(call KernelPackage,ahci-qoriq))
define KernelPackage/ppfe
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Freescale PPFE Driver support
DEPENDS:=@TARGET_layerscape
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
define KernelPackage/ppfe/description
Kernel modules for Freescale PPFE Driver support.
endef
$(eval $(call KernelPackage,ppfe))