worldstone updateboot update_bootcfg \
atnormalize dosread fdisk loadfont \
autopart part partition playwave \
- recwave repartition screendump
+ recwave repartition screendump \
+ command echo expr false getopts read test true \
+ umask wait
.if ${MACHINE_ARCH} == "earm"
SUBDIR+= eepromread
BINDIR= /bin
MAN=
-LINKS+= ${BINDIR}/cd ${BINDIR}/[
-LINKS+= ${BINDIR}/cd ${BINDIR}/command
-LINKS+= ${BINDIR}/cd ${BINDIR}/echo
-LINKS+= ${BINDIR}/cd ${BINDIR}/expr
-LINKS+= ${BINDIR}/cd ${BINDIR}/false
-LINKS+= ${BINDIR}/cd ${BINDIR}/getopts
-LINKS+= ${BINDIR}/cd ${BINDIR}/read
-LINKS+= ${BINDIR}/cd ${BINDIR}/test
-LINKS+= ${BINDIR}/cd ${BINDIR}/true
-LINKS+= ${BINDIR}/cd ${BINDIR}/umask
-LINKS+= ${BINDIR}/cd ${BINDIR}/wait
-
-
.include <bsd.prog.mk>
+++ /dev/null
-#!/bin/sh
-#
-# cd 1.3 - equivalents for normally builtin commands. Author: Kees J. Bot
-
-case $0 in
-*/*) command="`expr "$0" : '.*/\(.*\)'`"
- ;;
-*) command="$0"
-esac
-
-"$command" "$@"
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= command.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= echo.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= expr.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= false.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= getopts.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= read.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+builtin.sh is installed as a set of tools to stand in for specific
+filesystem call to builtin commands.
+
+for example if /bin/test is used, then builtin.sh will be loaded
+and simply call the builtin function of the same name.
+
+At this moment it is installed as the following commands:
+/bin/[
+/bin/command
+/bin/echo
+/bin/expr
+/bin/false
+/bin/getopts
+/bin/read
+/bin/test
+/bin/true
+/bin/umask
+/bin/wait
+
+If one of the following is replaced by the NetBSD equivalent, please
+update the list, and remove this completly when it is not anymore
+required.
--- /dev/null
+#!/bin/sh
+#
+# cd 1.3 - equivalents for normally builtin commands. Author: Kees J. Bot
+
+case $0 in
+*/*) command="`expr "$0" : '.*/\(.*\)'`"
+ ;;
+*) command="$0"
+esac
+
+"$command" "$@"
--- /dev/null
+SCRIPTS= test.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= true.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= umask.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file
--- /dev/null
+SCRIPTS= wait.sh
+BINDIR= /bin
+MAN=
+
+.include <bsd.prog.mk>
--- /dev/null
+../shared/builtin.sh
\ No newline at end of file