uclibc/bfin: don't install host utils if not FDPIC
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
806714a5d1
commit
cd6c7bc29a
@ -511,6 +511,16 @@ define UCLIBC_INSTALL_TARGET_CMDS
|
|||||||
$(UCLIBC_INSTALL_TEST_SUITE)
|
$(UCLIBC_INSTALL_TEST_SUITE)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# For FLAT binfmts (static) there are no host utils
|
||||||
|
ifeq ($(BR2_BINFMT_FLAT),)
|
||||||
|
define UCLIBC_INSTALL_UTILS_STAGING
|
||||||
|
$(INSTALL) -D -m 0755 $(@D)/utils/ldd.host $(HOST_DIR)/usr/bin/ldd
|
||||||
|
ln -sf ldd $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldd
|
||||||
|
$(INSTALL) -D -m 0755 $(@D)/utils/ldconfig.host $(HOST_DIR)/usr/bin/ldconfig
|
||||||
|
ln -sf ldconfig $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldconfig
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define UCLIBC_INSTALL_STAGING_CMDS
|
define UCLIBC_INSTALL_STAGING_CMDS
|
||||||
$(MAKE1) -C $(@D) \
|
$(MAKE1) -C $(@D) \
|
||||||
$(UCLIBC_MAKE_FLAGS) \
|
$(UCLIBC_MAKE_FLAGS) \
|
||||||
@ -518,10 +528,7 @@ define UCLIBC_INSTALL_STAGING_CMDS
|
|||||||
DEVEL_PREFIX=/usr/ \
|
DEVEL_PREFIX=/usr/ \
|
||||||
RUNTIME_PREFIX=/ \
|
RUNTIME_PREFIX=/ \
|
||||||
install_runtime install_dev
|
install_runtime install_dev
|
||||||
install -D -m 0755 $(@D)/utils/ldd.host $(HOST_DIR)/usr/bin/ldd
|
$(UCLIBC_INSTALL_UTILS_STAGING)
|
||||||
ln -sf ldd $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldd
|
|
||||||
install -D -m 0755 $(@D)/utils/ldconfig.host $(HOST_DIR)/usr/bin/ldconfig
|
|
||||||
ln -sf ldconfig $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldconfig
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
uclibc-menuconfig: dirs uclibc-patch
|
uclibc-menuconfig: dirs uclibc-patch
|
||||||
|
Loading…
Reference in New Issue
Block a user