This small patchset does a little cleanup of the build system and (most importantly) allows concurrent support for 1.2+ and pre-1.2 devices without need for a compile-time switch (the only caveat is that the headers should be 1.2 or higher).
Thanks! Originally I was running into some linker errors when compiling on a pre-1.2 device with the 1.2+ headers, but that must have been a misconfiguration on my end.
This small patchset does a little cleanup of the build system and (most importantly) allows concurrent support for 1.2+ and pre-1.2 devices without need for a compile-time switch (the only caveat is that the headers should be 1.2 or higher).