From e3bc01f494ddd7cabb8a3ab020fb46e588978744 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 20 Nov 2018 13:34:12 +0800
Subject: [PATCH] update iotd_conf.c file, remove printf to log_nrml

---
 src/nbiotd/core/makefile |   21 ++++++---------------
 1 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/src/nbiotd/core/makefile b/src/nbiotd/core/makefile
index 6283f73..e8223ca 100644
--- a/src/nbiotd/core/makefile
+++ b/src/nbiotd/core/makefile
@@ -1,5 +1,5 @@
 #*********************************************************************************
-#      Copyright:  (C) 2012 CoherentPlus Sdn. Bhd.
+#      Copyright:  (C) 2018 LingYun IoT Studio
 #                  All rights reserved.
 #
 #       Filename:  Makefile
@@ -8,32 +8,23 @@
 #                  static library named lib$(FOLDER_NAME).a orlib $(FOLDER_NAME).so,
 #                  which depends on the variable $LINK_MODE.
 #                      
-#        Version:  1.0.0(10/08/2011~)
+#        Version:  1.0.0
 #                  Author:  Guo Wenxue <guowenxue@gmail.com>
-#      ChangeLog:  1, Release initial version on "10/08/2011 01:29:33 AM"
+#      ChangeLog:  1, Release initial version on "11/20/2018 11:29:33 AM"
 #                       
 #********************************************************************************/
 
 PWD=$(shell pwd)
-#TOP_COMPILE=YES
-
-#If wanna compile in the subdir, not called by top makefile, uncomment it
-ifneq (${TOP_COMPILE}, YES) 
-LOCAL_COMPILE=YES
-endif
-
 LIBNAME=$(shell basename ${PWD})
 STALIB=lib${LIBNAME}.a
 DYNLIB=lib${LIBNAME}.so
 
+CROSS_COMPILE?=/opt/rpi/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
+LINK_MODE=STATIC
+
 VPATH= .
 SRCS = $(wildcard ${VPATH}/*.c)
 OBJS = $(patsubst %.c,%.o,$(SRCS))
-
-#======================================================
-#  ---> Doesn't call by top makefile, compile by local
-#======================================================
-CROSS_COMPILE?=/opt/rpi/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
 
 PRJDIR?=$(shell dirname ${PWD})
 CFLAGS+=-I${PRJDIR}

--
Gitblit v1.9.1