serdisplib: fix build on macos

./configure script detects if serdisplib is built on non-linux build
host and disables framebuffer driver. It blocks touchscreen_tool
compilation. This detection is not required on cross-compile build
so it is disabled via ac_cv_build=$(GNU_TARGET_NAME) in Makefile

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
This commit is contained in:
Sergey V. Lobanov 2022-01-12 16:25:40 +03:00 committed by Daniel Golle
parent 53503c4a3a
commit d504cb206f
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=serdisplib PKG_NAME:=serdisplib
PKG_VERSION:=2.02 PKG_VERSION:=2.02
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/serdisplib PKG_SOURCE_URL:=@SF/serdisplib
@ -51,6 +51,9 @@ define Package/serdisplib-tools/description
* touchscreen_tool * touchscreen_tool
endef endef
CONFIGURE_VARS += \
ac_cv_build=$(GNU_TARGET_NAME)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-dynloading \ --enable-dynloading \
--disable-statictools --disable-statictools