-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathMakefile
32 lines (24 loc) · 871 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PKG_NAME = gensio
PKG_VERS = 1.5.6
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/cminyard/$(PKG_NAME)/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
HOMEPAGE = https://github.com/cminyard/gensio
COMMENT = gensio - General Stream I/O
LICENSE = GPLv2
# qoriq is the only PPC arch that is supported
UNSUPPORTED_ARCHS = powerpc ppc824x ppc853x ppc854x
DEPENDS = cross/openssl
GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = gensio_pre_configure
CONFIGURE_ARGS = --with-python=no --with-swig=no
include ../../mk/spksrc.cross-cc.mk
ifeq ($(findstring $(ARCH), $(PPC_ARCHES)),$(ARCH))
# archs/toolchains without compatible RS485 support (linux serial.h)
CONFIGURE_ARGS += ac_cv_have_decl_TIOCSRS485=no
endif
.PHONY: gensio_pre_configure
gensio_pre_configure:
$(RUN) autoreconf -i