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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137596
@ -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…
Reference in New Issue
Block a user