mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 21:01:29 +00:00
7750f403cb
The function is huge and included at least once in every VLAN acceleration capable driver. Uninline it; to avoid having drivers depend on the VLAN module, the function is always built in statically when VLAN is enabled. With all VLAN acceleration capable drivers that build on x86_64 enabled, this results in: text data bss dec hex filename 6515227 854044 343968 7713239 75b1d7 vmlinux.inlined 6505637 854044 343968 7703649 758c61 vmlinux.uninlined ---------------------------------------------------------- -9590 Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
62 lines
1.6 KiB
Makefile
62 lines
1.6 KiB
Makefile
#
|
|
# Makefile for the linux networking.
|
|
#
|
|
# 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
|
|
# Rewritten to use lists instead of if-statements.
|
|
#
|
|
|
|
obj-y := nonet.o
|
|
|
|
obj-$(CONFIG_NET) := socket.o core/
|
|
|
|
tmp-$(CONFIG_COMPAT) := compat.o
|
|
obj-$(CONFIG_NET) += $(tmp-y)
|
|
|
|
# LLC has to be linked before the files in net/802/
|
|
obj-$(CONFIG_LLC) += llc/
|
|
obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/
|
|
obj-$(CONFIG_NETFILTER) += netfilter/
|
|
obj-$(CONFIG_INET) += ipv4/
|
|
obj-$(CONFIG_XFRM) += xfrm/
|
|
obj-$(CONFIG_UNIX) += unix/
|
|
ifneq ($(CONFIG_IPV6),)
|
|
obj-y += ipv6/
|
|
endif
|
|
obj-$(CONFIG_PACKET) += packet/
|
|
obj-$(CONFIG_NET_KEY) += key/
|
|
obj-$(CONFIG_NET_SCHED) += sched/
|
|
obj-$(CONFIG_BRIDGE) += bridge/
|
|
obj-$(CONFIG_IPX) += ipx/
|
|
obj-$(CONFIG_ATALK) += appletalk/
|
|
obj-$(CONFIG_WAN_ROUTER) += wanrouter/
|
|
obj-$(CONFIG_X25) += x25/
|
|
obj-$(CONFIG_LAPB) += lapb/
|
|
obj-$(CONFIG_NETROM) += netrom/
|
|
obj-$(CONFIG_ROSE) += rose/
|
|
obj-$(CONFIG_AX25) += ax25/
|
|
obj-$(CONFIG_CAN) += can/
|
|
obj-$(CONFIG_IRDA) += irda/
|
|
obj-$(CONFIG_BT) += bluetooth/
|
|
obj-$(CONFIG_SUNRPC) += sunrpc/
|
|
obj-$(CONFIG_AF_RXRPC) += rxrpc/
|
|
obj-$(CONFIG_ATM) += atm/
|
|
obj-$(CONFIG_DECNET) += decnet/
|
|
obj-$(CONFIG_ECONET) += econet/
|
|
ifneq ($(CONFIG_VLAN_8021Q),)
|
|
obj-y += 8021q/
|
|
endif
|
|
obj-$(CONFIG_IP_DCCP) += dccp/
|
|
obj-$(CONFIG_IP_SCTP) += sctp/
|
|
obj-y += wireless/
|
|
obj-$(CONFIG_MAC80211) += mac80211/
|
|
obj-$(CONFIG_IEEE80211) += ieee80211/
|
|
obj-$(CONFIG_TIPC) += tipc/
|
|
obj-$(CONFIG_NETLABEL) += netlabel/
|
|
obj-$(CONFIG_IUCV) += iucv/
|
|
obj-$(CONFIG_RFKILL) += rfkill/
|
|
obj-$(CONFIG_NET_9P) += 9p/
|
|
|
|
ifeq ($(CONFIG_NET),y)
|
|
obj-$(CONFIG_SYSCTL) += sysctl_net.o
|
|
endif
|