aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-03-05 05:53:11 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-03-05 05:53:11 +0000
commitb1255305ba273338be5e19fa5b3e34bd5ca820e1 (patch)
tree3317ff1d762ee7ea9d3c7ccc29a10cc81fa6bca7
parent67eea85b7fd2738709eb7cfa381fb5364812f79f (diff)
downloadlcd4linux-b1255305ba273338be5e19fa5b3e34bd5ca820e1.tar.gz
ported changeset 778 from branches/0.10.1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@779 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rwxr-xr-xconfigure1
-rw-r--r--drivers.m41
-rwxr-xr-xsmoketest.sh2
3 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 528fef6..8ca44d4 100755
--- a/configure
+++ b/configure
@@ -7647,6 +7647,7 @@ if test "$picoLCD" = "yes"; then
TEXT="yes"
GPIO="yes"
SERIAL="yes"
+ LIBUSB="yes"
DRIVERS="$DRIVERS drv_picoLCD.o"
cat >>confdefs.h <<\_ACEOF
diff --git a/drivers.m4 b/drivers.m4
index 756e2b7..0e8893d 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -396,6 +396,7 @@ if test "$picoLCD" = "yes"; then
TEXT="yes"
GPIO="yes"
SERIAL="yes"
+ LIBUSB="yes"
DRIVERS="$DRIVERS drv_picoLCD.o"
AC_DEFINE(WITH_picoLCD,1,[picoLCD driver])
else
diff --git a/smoketest.sh b/smoketest.sh
index b3ccaca..45027be 100755
--- a/smoketest.sh
+++ b/smoketest.sh
@@ -9,7 +9,7 @@ rm -f smoketest.log lcd4linux
make distclean
./bootstrap
-for driver in BeckmannEgle BWCT CrystalFontz Curses Cwlinux EA232graphic G15 HD44780 LCD2USB LCDLinux LCDTerm LEDMatrix LPH7508 LUIse M50530 MatrixOrbital MilfordInstruments Noritake NULL PNG PPM RouterBoard Sample serdisplib SimpleLCD T6963 Trefon USBHUB USBLCD WincorNixdorf X11; do
+for driver in BeckmannEgle BWCT CrystalFontz Curses Cwlinux EA232graphic G15 HD44780 LCD2USB LCDLinux LCDTerm LEDMatrix LPH7508 LUIse M50530 MatrixOrbital MilfordInstruments Noritake NULL picoLCD PNG PPM RouterBoard Sample serdisplib SimpleLCD T6963 Trefon USBHUB USBLCD WincorNixdorf X11; do
make distclean
./configure --with-drivers=$driver
.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
To produce a PDF manual, issue the command "make pdf" after running
`./configure'.

				 -*-

If you do not wish to build the C++ components, use:

./configure --disable-cxx

				 -*-

The `examples' subdirectory contains some examples of using libconfig
from C and C++.

				 -*-

Flex and Bison are not required in order to build this
package. However, you will need them if you modify the .l or .y files. See
the list of required build tool versions below.

				 -*-

To successfully compile using MinGW (with gcc 4.4.0 or later), it may
be necessary to modify the file "mingw32\4.4.0\libstdc++.la", changing line 11
from:

library_names='libstdc++.dll.a'

to:

library_names='libstdc++.a'

(See http://trac.osgeo.org/geos/ticket/282 for more information).

				 -*-

To cross-compile for Android:

1) Create a standalone toolchain using the 'make-standalone-toolchain.sh'
script included with the Android NDK. For example:

$ /pkg/android-ndk-r9d/build/tools/make-standalone-toolchain.sh \
  --platform=android-19 \
  --install-dir=/pkg/android-toolchain-19 \
  --system=linux-x86_64 \
  --arch=arm

2) Add the standalone toolchain's bin directory to the front of the path:

$ export PATH=/pkg/android-toolchain-19/bin:$PATH

3) Configure libconfig for cross-compilation:

$ ./configure --host=arm-linux-androideabi \
  --with-sysroot=/pkg/android-toolchain-19/sysroot

4) Build libconfig

$ make

				 -*-

Build tools dependencies. (These are only required if you are a maintainer.)

Autoconf 2.69
Automake 1.14.1
Bison 3.0.2
Flex 2.5.39
Libtool 2.4.2

				 -*-

Libconfig may be found on github at https://github.com/hyperrealm/libconfig



For some reason, we need to symlink /pkg/android-toolchain-19/sysroot/pkg -> /pkg