Add 'raspberrypi' connection type to HD44780 driver (by P. Corner).

This commit is contained in:
mmdolze
2013-01-27 11:44:42 +00:00
parent 48b1c1ee40
commit 96502bcfdf
8 changed files with 715 additions and 21 deletions
+9
View File
@@ -228,6 +228,15 @@ dnl else
if test "$x_ac_have_i2c" = yes; then
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-i2c.o"
fi
dnl The hd4470-rpi driver only works on a Raspberry Pi,
dnl which is an ARM platform. Require people to compile on
dnl (or for) ARM to get it.
case $host in
arm*-*-linux*)
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-rpi.o"
AC_DEFINE([WITH_RASPBERRYPI],[1],[Define if you are using a Raspberry Pi.])
;;
esac
DRIVERS="$DRIVERS hd44780${SO}"
actdrivers=["$actdrivers hd44780"]
;;