# SUBARCH tells the usermode build what the underlying arch is.  That is set
# first, and if a usermode build is happening, the "ARCH=um" on the command
# line overrides the setting of ARCH below.  If a native build is happening,
# then ARCH is assigned, getting whatever value it gets normally, and
# SUBARCH is subsequently ignored.
# eg:
# x86(make modules or make)
# arm(make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules)
grtnic_xgb-objs := \
	grtnic_main.o \
	grtnic_netdev.o \
	grtnic_macphy.o \
	grtnic_param.o \
	grtnic_nvm.o \
	grtnic_ethtool.o \
	grtnic_proc.o 
obj-$(CONFIG_GRTNIC_XGB) += grtnic_xgb.o
grtnic_xgb-y += kcompat.o
