eeaa432800
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>
30 lines
854 B
Makefile
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))
|