[Debian-iot-packaging] [openzwave-controlpanel] 37/81: Add cross compiler make file definitions.

Dara Adib daradib-guest at moszumanska.debian.org
Thu Dec 22 16:57:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

daradib-guest pushed a commit to branch debian/master
in repository openzwave-controlpanel.

commit 63be4e374410d9bedd9b5f02673d88304481c56f
Author: glsatz <glsatz at gmail.com>
Date:   Mon Jan 21 04:47:01 2013 +0000

    Add cross compiler make file definitions.
---
 Makefile      | 16 ++++++++--------
 webserver.cpp |  1 +
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index ecb45a7..7b8ab8f 100644
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,11 @@
 
 .SUFFIXES:	.cpp .o .a .s
 
-CC     := gcc
-CXX    := g++
-LD     := g++
-AR     := ar rc
-RANLIB := ranlib
+CC     := $(CROSS_COMPILE)gcc
+CXX    := $(CROSS_COMPILE)g++
+LD     := $(CROSS_COMPILE)g++
+AR     := $(CROSS_COMPILE)ar rc
+RANLIB := $(CROSS_COMPILE)ranlib
 
 DEBUG_CFLAGS    := -Wall -Wno-unknown-pragmas -Wno-inline -Werror -Wno-format -g -DDEBUG
 RELEASE_CFLAGS  := -Wall -Wno-unknown-pragmas -Werror -Wno-format -O3 -DNDEBUG
@@ -33,9 +33,9 @@ INCLUDES := -I $(OPENZWAVE)/cpp/src -I $(OPENZWAVE)/cpp/src/command_classes/ \
 GNUTLS := #-lgnutls
 
 # for Linux uncomment out next three lines
-LIBZWAVE := $(wildcard $(OPENZWAVE)/cpp/lib/linux/*.a)
-LIBUSB := -ludev
-LIBS := $(LIBZWAVE) $(GNUTLS) $(LIBMICROHTTPD) -pthread $(LIBUSB)
+#LIBZWAVE := $(wildcard $(OPENZWAVE)/cpp/lib/linux/*.a)
+#LIBUSB := -ludev
+#LIBS := $(LIBZWAVE) $(GNUTLS) $(LIBMICROHTTPD) -pthread $(LIBUSB)
 
 # for Mac OS X comment out above 2 lines and uncomment next 5 lines
 #ARCH := -arch i386 -arch x86_64
diff --git a/webserver.cpp b/webserver.cpp
index 24b063f..e4bf6d5 100644
--- a/webserver.cpp
+++ b/webserver.cpp
@@ -50,6 +50,7 @@
 #include "ValueDecimal.h"
 #include "ValueInt.h"
 #include "ValueList.h"
+#include "ValueRaw.h"
 #include "ValueShort.h"
 #include "ValueString.h"
 #include "tinyxml.h"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-iot/openzwave-controlpanel.git



More information about the Debian-iot-packaging mailing list