summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/airoha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/airoha/Makefile')
-rw-r--r--drivers/net/ethernet/airoha/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/airoha/Makefile b/drivers/net/ethernet/airoha/Makefile
new file mode 100644
index 000000000000..94468053e34b
--- /dev/null
+++ b/drivers/net/ethernet/airoha/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Airoha for the Mediatek SoCs built-in ethernet macs
+#
+
+obj-$(CONFIG_NET_AIROHA) += airoha-eth.o
+airoha-eth-y := airoha_eth.o airoha_ppe.o
+airoha-eth-$(CONFIG_DEBUG_FS) += airoha_ppe_debugfs.o
+obj-$(CONFIG_NET_AIROHA_NPU) += airoha_npu.o