diff options
| author | Ulrich Ölmann <u.oelmann@pengutronix.de> | 2023-02-08 19:17:29 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-09 15:56:25 -0800 |
| commit | 21a0a86141a5c1d030ee9ad9fb5c5ba4fc474c03 (patch) | |
| tree | e7f1c2b3ca620ffdcc6c2daebbdf75cdf2f81ed4 /meta-networking | |
| parent | 5ae6f9434f44a57389a3f52dce17da6fe5928e1f (diff) | |
| download | meta-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.bb | 4 |
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 | |||
| 23 | ALTERNATIVE_PRIORITY = "100" | 23 | ALTERNATIVE_PRIORITY = "100" |
| 24 | 24 | ||
| 25 | ALTERNATIVE:${PN} = "ftp" | 25 | ALTERNATIVE:${PN} = "ftp" |
| 26 | ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp" | 26 | ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp" |
| 27 | ALTERNATIVE_TARGET_${PN} = "${bindir}/tnftp" | 27 | ALTERNATIVE_TARGET[ftp] = "${bindir}/tnftp" |
| 28 | 28 | ||
| 29 | FILES:${PN} = "${bindir}/tnftp" | 29 | FILES:${PN} = "${bindir}/tnftp" |
| 30 | 30 | ||
