If DESTDIR was specified as a makeoption in the kernelconfig file
we want to pass it on to the modules build so we don't install the kernel under DESTDIR and the modules in /boot.
This commit is contained in:
parent
f8f6970098
commit
89e50d0e9a
@ -9,6 +9,11 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# In case the config had a makeoptions DESTDIR...
|
||||
.if defined(DESTDIR)
|
||||
MKMODULESENV+= DESTDIR="${DESTDIR}"
|
||||
.endif
|
||||
|
||||
.MAIN: all
|
||||
|
||||
.for target in all clean cleandepend cleandir clobber depend install \
|
||||
|
Loading…
Reference in New Issue
Block a user