[Lcdproc] Compiling drivers with and without USB support
Peter Marschall
peter@adpm.de
Mon Sep 11 10:31:02 2006
Hi =D8yvind ,
On Monday, 4. September 2006 00:00, =D8yvind Repvik wrote:
> 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?
You may try=20
./configure --disable-libusb
to generate the version without libusb and
./configure --enable-libusb
to generate the version with libusb.
Regards
Peter
=2D-=20
Peter Marschall
peter@adpm.de