merged
authorEdouard Tisserant
Mon, 03 Aug 2015 18:01:58 +0200
changeset 794 8bfe0ac00cdb
parent 792 2b9fd5086704 (diff)
parent 793 72e9e1064432 (current diff)
child 795 8dc7a42d38b1
merged
--- a/drivers/can_socket/Makefile.in	Tue Jul 28 16:36:55 2015 +0200
+++ b/drivers/can_socket/Makefile.in	Mon Aug 03 18:01:58 2015 +0200
@@ -55,7 +55,7 @@
 libcanfestival_$(CAN_DRIVER).so: $(OBJS)
 	$(CC) -shared -Wl,-soname,libcanfestival_$(CAN_DRIVER).so $(CAN_DLL_CFLAGS) -o $@ $<
 
-install: libcanfestival_$(CAN_DRIVER).so
+install: $(DRIVER)
 	mkdir -p $(DESTDIR)$(PREFIX)/lib/
 	cp $< $(DESTDIR)$(PREFIX)/lib/
 	
@@ -63,6 +63,6 @@
 	rm -f $(TARGET_SOFILES)
 
 clean:
-	rm -f $(OBJS) libcanfestival_$(CAN_DRIVER).so
+	rm -f $(OBJS) $(DRIVER)
 
 mrproper: clean
--- a/objdictgen/gen_cfile.py	Tue Jul 28 16:36:55 2015 +0200
+++ b/objdictgen/gen_cfile.py	Mon Aug 03 18:01:58 2015 +0200
@@ -91,9 +91,9 @@
 
 def ComputeValue(type, value):
     if type == "visible_string":
-        return "\"%s\""%value, ""
+        return "(UNS8*)\"%s\""%value, ""
     elif type == "domain":
-        return "\"%s\""%''.join(["\\x%2.2x"%ord(char) for char in value]), ""
+        return "(UNS8*)\"%s\""%''.join(["\\x%2.2x"%ord(char) for char in value]), ""
     elif type.startswith("real"):
         return "%f"%value, ""
     else: