PORTS_MODULES: a list of ports to build with this kernel.
# I directly use the targets for building this, but it was suggested # to use portupgrade. I couldn't fit that into the target model, so I # punted.
This commit is contained in:
parent
53f8cdd88e
commit
1fd4bb62ef
@ -27,6 +27,20 @@ modules-${target}:
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Handle out of tree ports
|
||||
.if defined(PORTS_MODULES)
|
||||
.if defined(SYSDIR)
|
||||
PORTSMODULESENV=SYSDIR=${SYSDIR}
|
||||
.endif
|
||||
.for target in all install clean
|
||||
${target}: ports-${target}
|
||||
ports-${target}:
|
||||
.for __i in ${PORTS_MODULES}
|
||||
cd /usr/ports/${__i}; ${PORTSMODULESENV} ${MAKE} ${target}
|
||||
.endfor
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.ORDER: kernel-install modules-install
|
||||
|
||||
kernel-all: ${KERNEL_KO}
|
||||
|
Loading…
x
Reference in New Issue
Block a user