--- 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: