diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-07-04 07:50:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-05 07:05:54 -0400 |
commit | eec8bb138e6e8214918f30eb7bdf729236d866a8 (patch) | |
tree | 9221889c433d180b2288a50003a950a5888d52da | |
parent | 0df5f81c481e383f37f9f97eb014c885898b1773 (diff) |
net: ethernet: sfc: Make subdir logic consistent with other vendors
Both SFC and SFC_FALCON depend on NET_VENDOR_SOLARFLARE, hence use the
latter to decide whether to descend into the sfc subdirectory.
Move the rule to descend into sfc/falcon to the sfc subdirectory.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/Makefile | 3 | ||||
-rw-r--r-- | drivers/net/ethernet/sfc/Makefile | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 0c3ab7efff8c..22555e7fa752 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -80,8 +80,7 @@ obj-$(CONFIG_NET_VENDOR_SAMSUNG) += samsung/ | |||
80 | obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/ | 80 | obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/ |
81 | obj-$(CONFIG_NET_VENDOR_SILAN) += silan/ | 81 | obj-$(CONFIG_NET_VENDOR_SILAN) += silan/ |
82 | obj-$(CONFIG_NET_VENDOR_SIS) += sis/ | 82 | obj-$(CONFIG_NET_VENDOR_SIS) += sis/ |
83 | obj-$(CONFIG_SFC) += sfc/ | 83 | obj-$(CONFIG_NET_VENDOR_SOLARFLARE) += sfc/ |
84 | obj-$(CONFIG_SFC_FALCON) += sfc/falcon/ | ||
85 | obj-$(CONFIG_NET_VENDOR_SGI) += sgi/ | 84 | obj-$(CONFIG_NET_VENDOR_SGI) += sgi/ |
86 | obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ | 85 | obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ |
87 | obj-$(CONFIG_NET_VENDOR_SOCIONEXT) += socionext/ | 86 | obj-$(CONFIG_NET_VENDOR_SOCIONEXT) += socionext/ |
diff --git a/drivers/net/ethernet/sfc/Makefile b/drivers/net/ethernet/sfc/Makefile index 3bac58d0f88b..c5c297e78d06 100644 --- a/drivers/net/ethernet/sfc/Makefile +++ b/drivers/net/ethernet/sfc/Makefile | |||
@@ -6,3 +6,5 @@ sfc-$(CONFIG_SFC_MTD) += mtd.o | |||
6 | sfc-$(CONFIG_SFC_SRIOV) += sriov.o siena_sriov.o ef10_sriov.o | 6 | sfc-$(CONFIG_SFC_SRIOV) += sriov.o siena_sriov.o ef10_sriov.o |
7 | 7 | ||
8 | obj-$(CONFIG_SFC) += sfc.o | 8 | obj-$(CONFIG_SFC) += sfc.o |
9 | |||
10 | obj-$(CONFIG_SFC_FALCON) += falcon/ | ||