target: use SPDX license identifiers on Makefiles
[openwrt/openwrt.git] / target / linux / layerscape / modules.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) Jiang Yutang <jiangyutang1978@gmail.com>
4
5 define KernelPackage/ahci-qoriq
6 SUBMENU:=$(BLOCK_MENU)
7 TITLE:=Freescale QorIQ AHCI SATA support
8 KCONFIG:=CONFIG_AHCI_QORIQ
9 FILES:=$(LINUX_DIR)/drivers/ata/ahci_qoriq.ko
10 AUTOLOAD:=$(call AutoLoad,40,ahci-qoriq,1)
11 $(call AddDepends/ata,+kmod-ata-ahci-platform @TARGET_layerscape)
12 endef
13
14 define KernelPackage/ahci-qoriq/description
15 This option enables support for the Freescale QorIQ AHCI SoC's
16 onboard AHCI SATA.
17 endef
18
19 $(eval $(call KernelPackage,ahci-qoriq))
20
21 define KernelPackage/ppfe
22 SUBMENU:=$(NETWORK_DEVICES_MENU)
23 TITLE:=Freescale PPFE Driver support
24 DEPENDS:=@TARGET_layerscape
25 KCONFIG:=CONFIG_FSL_PPFE=y \
26 CONFIG_FSL_PPFE_UTIL_DISABLED=y
27 FILES:=$(LINUX_DIR)/drivers/staging/fsl_ppfe/pfe.ko
28 AUTOLOAD:=$(call AutoLoad,35,pfe)
29 endef
30
31 define KernelPackage/ppfe/description
32 Kernel modules for Freescale PPFE Driver support.
33 endef
34
35 $(eval $(call KernelPackage,ppfe))