OICSensorBoard: make configuration variables able be overriden from outside
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 31 Dec 2015 17:23:11 +0000 (17:23 +0000)
committerHabib Virji <habib.virji@samsung.com>
Wed, 9 Mar 2016 15:54:03 +0000 (15:54 +0000)
This still can be forced as :

  make CLIENTARCH=x86_64 BUILDTYPE=debug

Or by exporting CLIENTARCH in parent Makefiles or env

Change-Id: Iccf271ce0a5108a4c4c2f8c2d2187b7c02e00d34
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4745
Reviewed-by: Robert Spielmann <spielmann@kellendonk.de>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
examples/OICSensorBoard/Makefile

index d89d57f..2e7acb5 100644 (file)
@@ -1,6 +1,6 @@
 #Set the two variables below for the client build.
-CLIENTARCH=x86
-BUILDTYPE=release
+CLIENTARCH?=x86
+BUILDTYPE?=release
 ##
 
 YOCTOCXXFLAGS=-I$(SDKTARGETSYSROOT)/usr/include/iotivity/resource/ -I$(SDKTARGETSYSROOT)/usr/include/iotivity/resource/stack -I$(SDKTARGETSYSROOT)/usr/include/iotivity/resource/ocrandom -I$(SDKTARGETSYSROOT)/usr/include/iotivity/resource/logger -I$(SDKTARGETSYSROOT)/usr/include/iotivity/resource/oc_logger