mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
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>
This commit is contained in:
@@ -23,8 +23,8 @@ inherit autotools update-alternatives pkgconfig
|
|||||||
ALTERNATIVE_PRIORITY = "100"
|
ALTERNATIVE_PRIORITY = "100"
|
||||||
|
|
||||||
ALTERNATIVE:${PN} = "ftp"
|
ALTERNATIVE:${PN} = "ftp"
|
||||||
ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp"
|
ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp"
|
||||||
ALTERNATIVE_TARGET_${PN} = "${bindir}/tnftp"
|
ALTERNATIVE_TARGET[ftp] = "${bindir}/tnftp"
|
||||||
|
|
||||||
FILES:${PN} = "${bindir}/tnftp"
|
FILES:${PN} = "${bindir}/tnftp"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user