summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorthomas <thomas@FreeBSD.org>2014-05-03 09:24:20 +0000
committerthomas <thomas@FreeBSD.org>2014-05-03 09:24:20 +0000
commit84ede10b91baf0d71c9be1878c7b956f8f0c60b1 (patch)
treea084c1c82c27497e572d33cabbb267ca501a8487 /Makefile.inc1
parent574a744c490d2b9e5e1ea41454135f1229a2dd78 (diff)
downloadFreeBSD-src-84ede10b91baf0d71c9be1878c7b956f8f0c60b1.zip
FreeBSD-src-84ede10b91baf0d71c9be1878c7b956f8f0c60b1.tar.gz
Add appropriate quoting to allow building with a KERNCONFDIR containing
spaces. PR: kern/162736 MFC after: 1 week
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8bf192d..ba7fe52 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1001,7 +1001,7 @@ buildkernel:
cd ${KRNLCONFDIR}; \
PATH=${TMPPATH} \
config ${CONFIGARGS} -d ${KRNLOBJDIR}/${_kernel} \
- -I ${KERNCONFDIR} ${KERNCONFDIR}/${_kernel}
+ -I '${KERNCONFDIR}' '${KERNCONFDIR}/${_kernel}'
.endif
.if !defined(NO_CLEAN) && !defined(NO_KERNELCLEAN)
@echo
@@ -1816,7 +1816,7 @@ DTBOUTPUTPATH= ${KRNLOBJDIR}/${KERNCONF}/
.if !defined(FDT_DTS_FILE) || empty(FDT_DTS_FILE)
.if exists(${KERNCONFDIR}/${KERNCONF})
FDT_DTS_FILE!= awk 'BEGIN {FS="="} /^makeoptions[[:space:]]+FDT_DTS_FILE/ {print $$2}' \
- ${KERNCONFDIR}/${KERNCONF} ; echo
+ '${KERNCONFDIR}/${KERNCONF}' ; echo
.endif
.endif
OpenPOWER on IntegriCloud