summaryrefslogtreecommitdiffstats
path: root/release/picobsd/tinyware/oinit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'release/picobsd/tinyware/oinit/Makefile')
-rw-r--r--release/picobsd/tinyware/oinit/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/release/picobsd/tinyware/oinit/Makefile b/release/picobsd/tinyware/oinit/Makefile
index 1fb9b2d..c655bb7 100644
--- a/release/picobsd/tinyware/oinit/Makefile
+++ b/release/picobsd/tinyware/oinit/Makefile
@@ -1,9 +1,19 @@
# $FreeBSD$
#
-PROG=oinit
-#CFLAGS+=-DUSE_HISTORY
-CFLAGS+=-DOINIT_RC=\"/etc/oinit.rc\"
-#LDADD=-lutil -ledit -ltermcap
+PROG= oinit
+
+SH_PATH?= /bin/sh
+SH_NAME?= -sh
+SH_ARG?= /etc/rc
+
+CFLAGS= -DSH_PATH=\"${SH_PATH}\" -DSH_NAME=\"${SH_NAME}\" \
+ -DSH_ARG=\"${SH_ARG}\"
+
+
+#CFLAGS+= -DUSE_HISTORY
+#CFLAGS+= -DOINIT_RC=\"/etc/oinit.rc\"
+
+#LDADD= -lutil -ledit -ltermcap
LDADD=-lutil
NOMAN=yes
OpenPOWER on IntegriCloud