mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-12 03:10:15 +00:00
external-arm-toolchain: drop unnecessary RDEPENDS on bash
The 2 scripts that still have /bin/bash shebang are ldd and tzselect. But it seems upstream had fixed all bashisms in those scripts in recent years and OE-Core versions of those scripts use /bin/sh already. Dropping these unnecessary RDEPENDS on bash actually significantly prunes dependency tree for simple BSP builds like u-boot, etc. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
efd0773165
commit
d68e63b965
@@ -113,6 +113,8 @@ do_install() {
|
||||
rm -rf ${D}${bindir}/gdbserver
|
||||
sed -i -e 's#/arm/tools/gnu/bash/4.2/rhe6-x86_64##' ${D}${bindir}/tzselect
|
||||
sed -i -e 's#/arm/tools/gnu/bash/4.2/rhe6-x86_64##' ${D}${bindir}/ldd
|
||||
sed -i -e 's#/bin/bash#/bin/sh#' ${D}${bindir}/tzselect
|
||||
sed -i -e 's#/bin/bash#/bin/sh#' ${D}${bindir}/ldd
|
||||
|
||||
cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/lib/gcc/${EAT_TARGET_SYS}/${EAT_VER_GCC}/crt*.o ${D}${libdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC}/
|
||||
|
||||
@@ -420,9 +422,6 @@ FILES_libsegfault = "${base_libdir}/libSegFault*"
|
||||
FILES_catchsegv = "${bindir}/catchsegv"
|
||||
RDEPENDS_catchsegv = "libsegfault"
|
||||
|
||||
RDEPENDS_ldd = "bash"
|
||||
RDEPENDS_tzcode = "bash"
|
||||
|
||||
# From libgfortran.inc:
|
||||
|
||||
FILES_libgfortran = "${libdir}/libgfortran.so.*"
|
||||
|
||||
Reference in New Issue
Block a user