summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc18
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ab47bfb..c7a6523 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1780,8 +1780,12 @@ _gcc_tools= gnu/usr.bin/cc/cc_tools
_rescue=rescue/rescue
.endif
+.if ${MK_TCSH} != "no"
+_tcsh=bin/csh
+.endif
+
.for _tool in \
- bin/csh \
+ ${_tcsh} \
bin/sh \
${LOCAL_TOOL_DIRS} \
lib/ncurses/ncurses \
@@ -1938,7 +1942,7 @@ native-xtools: .PHONY
bin/cat \
bin/chmod \
bin/cp \
- bin/csh \
+ ${_tcsh} \
bin/echo \
bin/expr \
bin/hostname \
OpenPOWER on IntegriCloud