* [ptxdist] [PATCH v2] microcom: version bump 2009.06 -> 2017.03.0
@ 2018-03-11 20:09 Uwe Kleine-König
0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2018-03-11 20:09 UTC (permalink / raw)
To: ptxdist
The program is using autoconf since it was last packaged for ptxdist, so
the rule can be simplified accordingly.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
rules/microcom.in | 1 +
rules/microcom.make | 24 +++++++++---------------
2 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/rules/microcom.in b/rules/microcom.in
index 9206fab278d4..02e7eb1281a3 100644
--- a/rules/microcom.in
+++ b/rules/microcom.in
@@ -4,6 +4,7 @@ config MICROCOM
depends on !BUSYBOX_MICROCOM || ALLYES
tristate
prompt "microcom"
+ select READLINE
help
minimalistic terminal program
diff --git a/rules/microcom.make b/rules/microcom.make
index 2227ea9ff0f9..3b28859fbda8 100644
--- a/rules/microcom.make
+++ b/rules/microcom.make
@@ -16,10 +16,10 @@ PACKAGES-$(PTXCONF_MICROCOM) += microcom
#
# Paths and names
#
-MICROCOM_VERSION := 2009.06
-MICROCOM_MD5 := 68a63c2d56196a28be89d1b4e5d13af1
+MICROCOM_VERSION := 2017.03.0
+MICROCOM_MD5 := 801d99dcb4b2ef7e8b77b51bba193066
MICROCOM := microcom-$(MICROCOM_VERSION)
-MICROCOM_SUFFIX := tar.gz
+MICROCOM_SUFFIX := tar.xz
MICROCOM_URL := http://www.pengutronix.de/software/microcom/download/$(MICROCOM).$(MICROCOM_SUFFIX)
MICROCOM_SOURCE := $(SRCDIR)/$(MICROCOM).$(MICROCOM_SUFFIX)
MICROCOM_DIR := $(BUILDDIR)/$(MICROCOM)
@@ -29,16 +29,11 @@ MICROCOM_LICENSE := GPL-2.0
# Prepare
# ----------------------------------------------------------------------------
-MICROCOM_PATH := PATH=$(CROSS_PATH)
-MICROCOM_COMPILE_ENV := $(CROSS_ENV)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/microcom.install:
- @$(call targetinfo)
- @$(call touch)
+MICROCOM_CONF_TOOL := autoconf
+MICROCOM_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ $(GLOBAL_LARGE_FILE_OPTION) \
+ --enable-can \
# ----------------------------------------------------------------------------
# Target-Install
@@ -53,10 +48,9 @@ $(STATEDIR)/microcom.targetinstall:
@$(call install_fixup, microcom,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
@$(call install_fixup, microcom,DESCRIPTION,missing)
- @$(call install_copy, microcom, 0, 0, 0755, $(MICROCOM_DIR)/microcom, /usr/bin/microcom)
+ @$(call install_copy, microcom, 0, 0, 0755, -, /usr/bin/microcom)
@$(call install_finish, microcom)
-
@$(call touch)
# vim: syntax=make
--
2.16.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-11 20:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-11 20:09 [ptxdist] [PATCH v2] microcom: version bump 2009.06 -> 2017.03.0 Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox