--- a/drivers/can_socket/Makefile.in Thu Jun 12 14:07:16 2014 +0200
+++ b/drivers/can_socket/Makefile.in Fri Jun 19 20:16:07 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 Thu Jun 12 14:07:16 2014 +0200
+++ b/objdictgen/gen_cfile.py Fri Jun 19 20:16:07 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: