mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-19 09:16:36 +00:00
toolchain/toolchain-external: install ldd on the target
From: Julien Boibessot <julien.boibessot@armadeus.com> It could be usefull to have ldd on the target so install it. Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> [Sébastien: add commit message] Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
4f064ef8ef
commit
28f39c68e9
@ -499,6 +499,12 @@ define TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD
|
||||||
|
$(Q)if test -f $(STAGING_DIR)/usr/bin/ldd ; then \
|
||||||
|
$(INSTALL) -D $(STAGING_DIR)/usr/bin/ldd $(TARGET_DIR)/usr/bin/ldd ; \
|
||||||
|
$(SED) 's:.*/bin/bash:#!/bin/sh:' $(TARGET_DIR)/usr/bin/ldd ; \
|
||||||
|
fi
|
||||||
|
endef
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# inner-toolchain-external-package -- defines the generic installation rules
|
# inner-toolchain-external-package -- defines the generic installation rules
|
||||||
@ -593,6 +599,7 @@ define $(2)_INSTALL_TARGET_CMDS
|
|||||||
$$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS)
|
$$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS)
|
||||||
$$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER)
|
$$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER)
|
||||||
$$(TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO)
|
$$(TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO)
|
||||||
|
$$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Call the generic package infrastructure to generate the necessary
|
# Call the generic package infrastructure to generate the necessary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user