[build] Provide device name as string.

This commit is contained in:
Juho Hämäläinen 2015-11-13 16:25:54 +02:00
parent d1cc0bc49c
commit b82cf708ee

View file

@ -201,7 +201,7 @@ AC_ARG_WITH([droid-device],
[droiddevice=$withval], [droiddevice="generic"]
)
if test "x$droiddevice" != x ; then
DROID_DEVICE_CFLAGS="-DDROID_DEVICE_`echo $droiddevice | tr '[a-z]' '[A-Z]'`=1"
DROID_DEVICE_CFLAGS="-DDROID_DEVICE_`echo $droiddevice | tr '[a-z]' '[A-Z]'`=1 -DDROID_DEVICE_STRING=\"\\\"$droiddevice\\\"\""
AC_SUBST([DROID_DEVICE_CFLAGS])
fi