From 4556cd179a6b68076b3150f44b20a026856cacf4 Mon Sep 17 00:00:00 2001
From: winckel <winckel@eurecom.fr>
Date: Wed, 20 Nov 2013 12:24:02 +0000
Subject: [PATCH] Corrected  SCTP dir test.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4460 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/SIMU/USER/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/targets/SIMU/USER/Makefile b/targets/SIMU/USER/Makefile
index f77ae6c580..e00c0a9290 100644
--- a/targets/SIMU/USER/Makefile
+++ b/targets/SIMU/USER/Makefile
@@ -296,9 +296,9 @@ LIBS += $(S1AP_DIR)/libs1ap.a $(SCTP_DIR)/libsctp.a -lsctp -lcrypt
 export S1AP_CFLAGS
 
 $(S1AP_DIR)/libs1ap.a: force_look
-	$(MAKE) -C $(S1AP_DIR) -f Makefile.eNB libs1ap.a
+	@$(MAKE) -C $(S1AP_DIR) -f Makefile.eNB libs1ap.a
 $(SCTP_DIR)/libsctp.a: force_look
-	$(MAKE) -C $(SCTP_DIR) -f Makefile.eNB libsctp.a
+	@$(MAKE) -C $(SCTP_DIR) -f Makefile.eNB libsctp.a
 endif
 
 printvars:
@@ -430,7 +430,7 @@ clean:
 	@$(RM_F_V) *.exe*
 	@$(RM_F_V) $(ASN1_MSG_INC)/asn1_msg.o
 	@if [ -d $(S1AP_DIR) ];then $(MAKE) -C $(S1AP_DIR) -f Makefile.eNB clean; fi
-	@if [ -d $(S1AP_DIR) ];then $(MAKE) -C $(SCTP_DIR) -f Makefile.eNB clean; fi
+	@if [ -d $(SCTP_DIR) ];then $(MAKE) -C $(SCTP_DIR) -f Makefile.eNB clean; fi
 
 cleanl1:
 	@$(RM_F_V) LOG_THREAD oaisim
@@ -477,7 +477,7 @@ print:
 
 showcflags:
 	@echo oaisim cflags: $(CFLAGS)
-	@$(MAKE) -C $(S1AP_DIR) -f Makefile.eNB showcflags
+	@if [ -d $(S1AP_DIR) ]; then $(MAKE) -C $(S1AP_DIR) -f Makefile.eNB showcflags; fi
 
 force_look:
 	@true
-- 
GitLab