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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user