summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-03-06 17:44:29 +0000
committerEric Andersen <andersen@codepoet.org>2003-03-06 17:44:29 +0000
commit55de6e5b69aebddba08af9c038025d1c8e9f21b6 (patch)
treef8714cdb4a8fcd4eaacae84494fdabf86dfab312 /make
parente08cade7370ea8fc0baff5ed48a656bb5f5cc5bb (diff)
Make certain coreutils gets installed.
Diffstat (limited to 'make')
-rw-r--r--make/coreutils.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/coreutils.mk b/make/coreutils.mk
index 2ec01ae92..1b3d67e70 100644
--- a/make/coreutils.mk
+++ b/make/coreutils.mk
@@ -7,8 +7,8 @@ COREUTILS_SOURCE:=coreutils-4.5.6.tar.bz2
COREUTILS_SITE:=ftp://alpha.gnu.org/gnu/coreutils/
COREUTILS_CAT:=bzcat
COREUTILS_DIR:=$(BUILD_DIR)/coreutils-4.5.6
-COREUTILS_BINARY:=src/cat
-COREUTILS_TARGET_BINARY:=bin/cat
+COREUTILS_BINARY:=src/vdir
+COREUTILS_TARGET_BINARY:=bin/vdir
BIN_PROGS:=cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir \
mknod mv pwd rm rmdir vdir sleep stty sync touch true uname
@@ -48,6 +48,7 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
$(COREUTILS_DIR)/$(COREUTILS_BINARY): $(COREUTILS_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(COREUTILS_DIR)
+ rm -f $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
$(TARGET_DIR)/$(COREUTILS_TARGET_BINARY): $(COREUTILS_DIR)/$(COREUTILS_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(COREUTILS_DIR) install