DEFINES=-DHAVE_USRP2
-INCLUDES=-I$(top_srcdir)/usrp/firmware/include -I$(top_srcdir)/usrp/firmware/src/usrp2 -I$(top_srcdir)/usrp/firmware/src/common -I./ -I../common
+INCLUDES=-I$(top_srcdir)/usrp/firmware/include \
+ -I$(top_srcdir)/usrp/firmware/src/usrp2 \
+ -I$(top_srcdir)/usrp/firmware/src/common \
+ -I$(top_builddir)/usrp/firmware/src/common
# with EA = 0, the FX2 implements a portion of the 8051 "external memory"
# on chip. This memory is mapped like this: