diff mbox series

[meta-networking] tnftp: switch to using variable flags for alternatives

Message ID 20230208181729.1652601-1-u.oelmann@pengutronix.de
State Under Review
Headers show
Series [meta-networking] tnftp: switch to using variable flags for alternatives | expand

Commit Message

Ulrich Ölmann Feb. 8, 2023, 6:17 p.m. UTC
Up to now in this recipe the alternative mechanism only worked by accident, so
do like all other recipes and utilize varflags.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 meta-networking/recipes-support/tnftp/tnftp_20210827.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/tnftp/tnftp_20210827.bb b/meta-networking/recipes-support/tnftp/tnftp_20210827.bb
index 8c5892668d44..a6ba671e703c 100644
--- a/meta-networking/recipes-support/tnftp/tnftp_20210827.bb
+++ b/meta-networking/recipes-support/tnftp/tnftp_20210827.bb
@@ -23,8 +23,8 @@  inherit autotools update-alternatives pkgconfig
 ALTERNATIVE_PRIORITY = "100"
 
 ALTERNATIVE:${PN} = "ftp"
-ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp"
-ALTERNATIVE_TARGET_${PN}  = "${bindir}/tnftp"
+ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp"
+ALTERNATIVE_TARGET[ftp] = "${bindir}/tnftp"
 
 FILES:${PN} = "${bindir}/tnftp"