162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci# the stubs are built-in whenever DSA is built-in or module 462306a36Sopenharmony_ciifdef CONFIG_NET_DSA 562306a36Sopenharmony_ciobj-y := stubs.o 662306a36Sopenharmony_ciendif 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci# the core 962306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA) += dsa_core.o 1062306a36Sopenharmony_cidsa_core-y += \ 1162306a36Sopenharmony_ci devlink.o \ 1262306a36Sopenharmony_ci dsa.o \ 1362306a36Sopenharmony_ci master.o \ 1462306a36Sopenharmony_ci netlink.o \ 1562306a36Sopenharmony_ci port.o \ 1662306a36Sopenharmony_ci slave.o \ 1762306a36Sopenharmony_ci switch.o \ 1862306a36Sopenharmony_ci tag.o \ 1962306a36Sopenharmony_ci tag_8021q.o \ 2062306a36Sopenharmony_ci trace.o 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci# tagging formats 2362306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_AR9331) += tag_ar9331.o 2462306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_BRCM_COMMON) += tag_brcm.o 2562306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_DSA_COMMON) += tag_dsa.o 2662306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_GSWIP) += tag_gswip.o 2762306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_HELLCREEK) += tag_hellcreek.o 2862306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o 2962306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o 3062306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o 3162306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_NONE) += tag_none.o 3262306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_OCELOT) += tag_ocelot.o 3362306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_OCELOT_8021Q) += tag_ocelot_8021q.o 3462306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o 3562306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_RTL4_A) += tag_rtl4_a.o 3662306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_RTL8_4) += tag_rtl8_4.o 3762306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_RZN1_A5PSW) += tag_rzn1_a5psw.o 3862306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_SJA1105) += tag_sja1105.o 3962306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o 4062306a36Sopenharmony_ciobj-$(CONFIG_NET_DSA_TAG_XRS700X) += tag_xrs700x.o 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci# for tracing framework to find trace.h 4362306a36Sopenharmony_ciCFLAGS_trace.o := -I$(src) 44