aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-06-20 20:34:21 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-06-20 20:57:11 +0200
commit14644a66b60a4115f20f101f08966414852e446c (patch)
tree4e66d7fb9dddd6a3d5a35b4f74fcb84e95f9aad4
parentc8ba0f748819befdd97ea41da88e3c3f7192b6e9 (diff)
downloadbuildroot-14644a66b60a4115f20f101f08966414852e446c.tar.gz
buildroot-14644a66b60a4115f20f101f08966414852e446c.tar.bz2
package/coreutils: rename COREUTILS_CLEANUP_BIN to a more sensible name
COREUTILS_CLEANUP_BIN doesn't mean much, what it really does is fixing the location of binaries, so let's rename to a more sensible name. This is done in preparation to the introduction of support for building coreutils as individual binaries. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/coreutils/coreutils.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 8e5518f638..5e7e0c6ea0 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -96,14 +96,14 @@ COREUTILS_DEPENDENCIES += openssl
endif
ifeq ($(BR2_ROOTFS_MERGED_USR),)
-define COREUTILS_CLEANUP_BIN
+define COREUTILS_FIX_BIN_LOCATION
# some things go in /bin rather than /usr/bin
$(foreach f,$(COREUTILS_BIN_PROGS), \
rm -f $(TARGET_DIR)/usr/bin/$(f) && \
ln -sf ../usr/bin/coreutils $(TARGET_DIR)/bin/$(f)
)
endef
-COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_CLEANUP_BIN
+COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_FIX_BIN_LOCATION
endif
ifeq ($(BR2_STATIC_LIBS),y)