kumquat-buildroot/package/minicom/minicom.mk
James Byrne eeaa432800 package/minicom: make default port and lock directory fixed defaults
Minicom's configure script will set values for the default port and lock
directory based on the configuration of the host machine, which is not
useful for cross-compiling or reproducible builds, so instead set them
to sensible default values.

Signed-off-by: James Byrne <james.byrne@origamienergy.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-11-26 12:54:26 +01:00

30 lines
854 B
Makefile

################################################################################
#
# minicom
#
################################################################################
MINICOM_VERSION = 5086119bbaafd2f8986579209885635b92020096
MINICOM_SITE = https://salsa.debian.org/minicom-team/minicom.git
MINICOM_SITE_METHOD = git
MINICOM_LICENSE = GPL-2.0+
MINICOM_LICENSE_FILES = COPYING
MINICOM_AUTORECONF = YES
MINICOM_DEPENDENCIES = ncurses $(if $(BR2_ENABLE_LOCALE),,libiconv) \
$(TARGET_NLS_DEPENDENCIES) host-pkgconf
# add host-gettext for AM_ICONV macro
MINICOM_DEPENDENCIES += host-gettext
# Autoreconf requires an existing m4 directory
define MINICOM_MKDIR_M4
mkdir -p $(@D)/m4
endef
MINICOM_POST_PATCH_HOOKS += MINICOM_MKDIR_M4
MINICOM_CONF_OPTS = \
--enable-dfl-port=/dev/ttyS1 \
--enable-lock-dir=/var/lock
$(eval $(autotools-package))