[dahdi-commits] dahdi/tools.git branch "master" updated.

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Tue Jun 10 04:42:48 CDT 2014


branch "master" has been updated
       via  b1d55683ae1c146dad3892672d665fa8bcad61c0 (commit)
      from  9285e86492b2e8477b0fb3aba143ca7038204873 (commit)

Summary of changes:
 xpp/Makefile |    2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit b1d55683ae1c146dad3892672d665fa8bcad61c0
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Thu Jun 5 13:20:36 2014 +0300

    xpp: Don't generate .depends if there's no libusb
    
    Creating the The .depends file requires libusb support.
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
    Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>

diff --git a/xpp/Makefile b/xpp/Makefile
index ee15fe1..cb5a618 100644
--- a/xpp/Makefile
+++ b/xpp/Makefile
@@ -192,9 +192,11 @@ clean:
 	$(RM) .depend .octasic.depend *.o xtalk/*.o $(OCT_HERE_OBJS) $(TARGETS)
 
 .PHONY: depend
+ifeq	(1,$(PBX_USB))
 depend: .depend
 .depend: *.c *.h xtalk/*.c
 	@echo "Calculating dependencies"
 	@if ! $(CC) $(CFLAGS) $(OCT_CFLAGS) -MM $(SRCS) > $@; then $(RM) $@; exit 1; fi
 
 include .depend
+endif

-----------------------------------------------------------------------


-- 
dahdi/tools.git



More information about the dahdi-commits mailing list