mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
package/uclibc: also install utils to STAGING_DIR
When BR2_UCLIBC_INSTALL_UTILS is enabled, utils such as getconf, ldd,
locale get installed to TARGET_DIR. However, they do not get installed
to STAGING_DIR, which is annoying as it means that they are not part
of external toolchains built by Buildroot.
This commit adjusts the uclibc package to make sure those tools also
get installed to STAGING_DIR.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 272d281ba9)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
07b60c2d54
commit
81d1880f04
@@ -449,6 +449,14 @@ define UCLIBC_INSTALL_UTILS_TARGET
|
||||
PREFIX=$(TARGET_DIR) \
|
||||
utils install_utils
|
||||
endef
|
||||
|
||||
define UCLIBC_INSTALL_UTILS_STAGING
|
||||
$(MAKE1) -C $(@D) \
|
||||
CC="$(TARGET_CC)" CPP="$(TARGET_CPP)" LD="$(TARGET_LD)" \
|
||||
ARCH="$(UCLIBC_TARGET_ARCH)" \
|
||||
PREFIX=$(STAGING_DIR) \
|
||||
utils install_utils
|
||||
endef
|
||||
endif
|
||||
|
||||
define UCLIBC_INSTALL_TARGET_CMDS
|
||||
@@ -479,6 +487,7 @@ define UCLIBC_INSTALL_STAGING_CMDS
|
||||
RUNTIME_PREFIX=/ \
|
||||
install_runtime install_dev
|
||||
$(UCLIBC_INSTALL_HOST_UTILS)
|
||||
$(UCLIBC_INSTALL_UTILS_STAGING)
|
||||
endef
|
||||
|
||||
# Checks to give errors that the user can understand
|
||||
|
||||
Reference in New Issue
Block a user