1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-04 14:10:01 +00:00

Remove use of deprecated lnr command

lnr is deprecated and will be removed soon, so replace it with `ln -rs`

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2021-11-12 14:14:14 +00:00
committed by Jon Mason
parent c40fb5348b
commit 2098ffd84a
3 changed files with 3 additions and 3 deletions
@@ -11,7 +11,7 @@ do_install() {
install -d ${D}${bindir}
# Symlink all executables into bindir
for f in ${D}${datadir}/bin/${BINNAME}-*; do
lnr $f ${D}${bindir}/$(basename $f)
ln -rs $f ${D}${bindir}/$(basename $f)
done
}
@@ -46,6 +46,6 @@ do_install() {
install -d ${D}${bindir}
# Symlink all executables into bindir
for f in ${D}${datadir}/armclang/bin/*; do
lnr $f ${D}${bindir}/$(basename $f)
ln -rs $f ${D}${bindir}/$(basename $f)
done
}
+1 -1
View File
@@ -21,7 +21,7 @@ FVPDIR = "${libdir}/fvp/${BPN}"
# Used in do_install to create symlinks in $bindir to $FVPDIR
fvp_link_binaries() {
for FVP in ${D}${FVPDIR}/models/${FVP_ARCH}/FVP_*; do
lnr $FVP ${D}${bindir}/$(basename $FVP)
ln -rs $FVP ${D}${bindir}/$(basename $FVP)
done
# But not the .so files too
rm -f ${D}${bindir}/*.so