1# Common information shared by all submodule builds. 2 3COMMONDIR= ${SRCTOP}/sys/contrib/dev/mediatek/mt76 4 5.PATH: ${COMMONDIR} 6 7WITH_CONFIG_PM= 0 8WITH_DEBUGFS= 0 9 10# Other 11SRCS+= ${LINUXKPI_GENSRCS} 12SRCS+= opt_wlan.h opt_inet6.h opt_inet.h 13 14# Helpful after fresh imports. 15#CFLAGS+= -ferror-limit=0 16 17.if defined(WITH_CONFIG_PM) && ${WITH_CONFIG_PM} > 0 18CFLAGS+= -DCONFIG_PM=${WITH_CONFIG_PM} 19.endif 20 21.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0 22CFLAGS+= -DCONFIG_MAC80211_DEBUGFS=${WITH_DEBUGFS} 23.endif 24 25CFLAGS+= -I${COMMONDIR} 26CFLAGS+= ${LINUXKPI_INCLUDES} 27 28# end 29