Add a conditional whether to include the ethlcd connection type or not.
This commit is contained in:
@@ -200,6 +200,7 @@ dnl else
|
||||
fi
|
||||
if test "$enable_ethlcd" = yes ; then
|
||||
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-ethlcd.o"
|
||||
AC_DEFINE(WITH_ETHLCD,[1],[Define to 1 if you want to build hd44780 driver with ethlcd support])
|
||||
fi
|
||||
AC_CHECK_HEADER(linux/i2c-dev.h,
|
||||
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-i2c.o"
|
||||
|
||||
Reference in New Issue
Block a user