Commit 12a5ac98 authored by Franco Fichtner's avatar Franco Fichtner

Mk: allow ROOT fallback, but make sure it's there

parent 28f3f539
all:
ROOT?= /usr/local
.for TARGET in ${TREES} ${EXTRAS}
.if "${TREES_${TARGET}}" == ""
......@@ -9,6 +7,9 @@ TREES_${TARGET}=${TARGET}
.endif
.if "${ROOT_${TARGET}}" == ""
.if "${ROOT}" == ""
.error "No ROOT directory set for target: ${TARGET}"
.endif
ROOT_${TARGET}=${ROOT}
.endif
......
TREES= boot etc opnsense sbin wizard www
ROOT= /usr/local
ROOT_boot= /
EXTRAS= bootstrap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment