diff options
Diffstat (limited to 'usrp/firmware')
-rw-r--r-- | usrp/firmware/lib/Makefile.am | 4 | ||||
-rw-r--r-- | usrp/firmware/src/usrp2/Makefile.am | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usrp/firmware/lib/Makefile.am b/usrp/firmware/lib/Makefile.am index eb42f55e7..a6790f010 100644 --- a/usrp/firmware/lib/Makefile.am +++ b/usrp/firmware/lib/Makefile.am @@ -30,7 +30,7 @@ EXTRA_DIST = \ DEFINES= -INCLUDES=-I$(top_srcdir)/usrp/firmware/include +FW_INCLUDES=-I$(top_srcdir)/usrp/firmware/include # with EA = 0, the FX2 implements a portion of the 8051 "external memory" # on chip. This memory is mapped like this: @@ -58,7 +58,7 @@ LIBOBJS = \ all: libfx2.lib .c.rel: - $(XCC) $(INCLUDES) $(DEFINES) -c $< -o $@ + $(XCC) $(FW_INCLUDES) $(DEFINES) -c $< -o $@ $(LIBRARY): $(LIBOBJS) -rm -f $(LIBRARY) diff --git a/usrp/firmware/src/usrp2/Makefile.am b/usrp/firmware/src/usrp2/Makefile.am index 3f5b74f7b..e380b1907 100644 --- a/usrp/firmware/src/usrp2/Makefile.am +++ b/usrp/firmware/src/usrp2/Makefile.am @@ -54,7 +54,7 @@ EXTRA_DIST = \ DEFINES=-DHAVE_USRP2 -INCLUDES=-I$(top_srcdir)/usrp/firmware/include \ +FW_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 @@ -91,7 +91,7 @@ noinst_SCRIPTS = \ .c.rel: - $(XCC) $(INCLUDES) $(DEFINES) \ + $(XCC) $(FW_INCLUDES) $(DEFINES) \ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< .a51.rel: |