mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
Mk: allow ROOT fallback, but make sure it's there
This commit is contained in:
parent
28f3f5391f
commit
12a5ac98d7
@ -1,7 +1,5 @@
|
||||
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
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
TREES= boot etc opnsense sbin wizard www
|
||||
ROOT= /usr/local
|
||||
ROOT_boot= /
|
||||
|
||||
EXTRAS= bootstrap
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user