[Lcdproc] Compiling drivers with and without USB support
Øyvind Repvik
oyvind@repvik.org
Sun Sep 3 22:01:02 2006
Hi,
I'm working on cross-compiling lcdproc for an embedded distribution,
and as such would like to try to save a bit of space. What I'm trying to
do is to compile drivers that have optional usb-support twice (with and
without USB), so that the user has the option of not installing the
USB-driver unless necessary. The reason for this is that the usb-enabled
drivers automatically pull in libusb, which pulls in libstdc++.
Obviously, libstdc++ isn't something you want installed on a embedded
system unless it's necessary. I tried looking at the Makefile stuff for
the drivers, but I can't make heads or tails of the autotools stuff. Can
anyone help me a bit on reworking the Makefile so it builds eg.
hd44780.so and hd44780usb.so?
Thanks,
Øyvind Repvik