summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2023-02-08 19:17:29 +0100
committerKhem Raj <raj.khem@gmail.com>2023-02-09 15:56:25 -0800
commit21a0a86141a5c1d030ee9ad9fb5c5ba4fc474c03 (patch)
treee7f1c2b3ca620ffdcc6c2daebbdf75cdf2f81ed4 /meta-networking
parent5ae6f9434f44a57389a3f52dce17da6fe5928e1f (diff)
downloadmeta-openembedded-21a0a86141a5c1d030ee9ad9fb5c5ba4fc474c03.tar.gz
tnftp: switch to using variable flags for alternatives
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/tnftp/tnftp_20210827.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/tnftp/tnftp_20210827.bb b/meta-networking/recipes-support/tnftp/tnftp_20210827.bb
index 8c5892668d..a6ba671e70 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
23ALTERNATIVE_PRIORITY = "100" 23ALTERNATIVE_PRIORITY = "100"
24 24
25ALTERNATIVE:${PN} = "ftp" 25ALTERNATIVE:${PN} = "ftp"
26ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp" 26ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp"
27ALTERNATIVE_TARGET_${PN} = "${bindir}/tnftp" 27ALTERNATIVE_TARGET[ftp] = "${bindir}/tnftp"
28 28
29FILES:${PN} = "${bindir}/tnftp" 29FILES:${PN} = "${bindir}/tnftp"
30 30