# You can set flags specifically for your module by using the MODULE_XCC_FLAGS
# variable. So the following
#
#   MODULE_XCC_FLAGS = $(XCC_FLAGS) -O3
#
# specifies that everything in the modules should have the application
# build flags with -O3 appended (so the files will build at
# optimization level -O3).
#
# You can also set MODULE_XCC_C_FLAGS, MODULE_XCC_XC_FLAGS etc..

DEPENDENT_MODULES = lib_locks(>=2.3.1) lib_logging(>=3.3.1) lib_xassert(>=4.3.1)
OPTIONAL_HEADERS += ethernet_conf.h

MODULE_XCC_FLAGS = $(XCC_FLAGS) -g -O3 -mno-dual-issue

XCC_FLAGS_mii_master.xc = $(XCC_FLAGS) -O3 -fschedule -g -mno-dual-issue
XCC_FLAGS_macaddr_filter.xc = $(MODULE_XCC_FLAGS) -Wno-reinterpret-alignment
XCC_FLAGS_mii.xc = $(MODULE_XCC_FLAGS) -Wno-cast-align -Wno-unusual-code
XCC_FLAGS_mii_ethernet_mac.xc = $(MODULE_XCC_FLAGS) -Wno-cast-align -Wno-unusual-code
XCC_FLAGS_ethernet.xc = $(MODULE_XCC_FLAGS) -Wno-cast-align
XCC_FLAGS_mii_ethernet_rt_mac.xc = $(MODULE_XCC_FLAGS) -Wno-unusual-code
XCC_FLAGS_rgmii_buffering.xc = $(MODULE_XCC_FLAGS) -Wno-unusual-code
XCC_FLAGS_rgmii_ethernet_mac.xc = $(MODULE_XCC_FLAGS) -Wno-unusual-code
XCC_FLAGS_rmii_ethernet_rt_mac.xc = $(MODULE_XCC_FLAGS) -Wno-unusual-code
XCC_FLAGS_rmii_master.xc = $(MODULE_XCC_FLAGS) -mdual-issue -Wno-unusual-code


VERSION = 4.0.1
