aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/Makefile
diff options
context:
space:
mode:
authorChris Packham <chris.packham@alliedtelesis.co.nz>2020-02-05 13:11:12 +1300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-12 13:50:32 -0800
commit422d97b8b05ed38cc5f67522ddb821868ea272a7 (patch)
treeaecc83db4ac470447b390c93c9ed6438b8643429 /drivers/staging/octeon/Makefile
parentRevert "staging: octeon-usb: delete the octeon usb host controller driver" (diff)
downloadlinux-dev-422d97b8b05ed38cc5f67522ddb821868ea272a7.tar.xz
linux-dev-422d97b8b05ed38cc5f67522ddb821868ea272a7.zip
Revert "staging: octeon: delete driver"
This reverts commit 710d7fbe21ee2ceab121f1f84a20edf68f9f9742. Re-instate the code so subsequent commits can clean it up and get it building properly. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Link: https://lore.kernel.org/r/20200205001116.14096-3-chris.packham@alliedtelesis.co.nz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/Makefile')
-rw-r--r--drivers/staging/octeon/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/staging/octeon/Makefile b/drivers/staging/octeon/Makefile
new file mode 100644
index 000000000000..3887cf5f1e84
--- /dev/null
+++ b/drivers/staging/octeon/Makefile
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2005-2009 Cavium Networks
+#
+
+#
+# Makefile for Cavium OCTEON on-board ethernet driver
+#
+
+obj-${CONFIG_OCTEON_ETHERNET} := octeon-ethernet.o
+
+octeon-ethernet-y := ethernet.o
+octeon-ethernet-y += ethernet-mdio.o
+octeon-ethernet-y += ethernet-mem.o
+octeon-ethernet-y += ethernet-rgmii.o
+octeon-ethernet-y += ethernet-rx.o
+octeon-ethernet-y += ethernet-sgmii.o
+octeon-ethernet-y += ethernet-spi.o
+octeon-ethernet-y += ethernet-tx.o