summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorthomas <thomas@FreeBSD.org>2014-05-11 20:44:58 +0000
committerthomas <thomas@FreeBSD.org>2014-05-11 20:44:58 +0000
commit69470d28bf26ee56ca50f7ff517ef29f908c108c (patch)
tree8dc6e1dc222efbe35f4a1b2edf25f6b5c30d3768 /Makefile.inc1
parent59b23c23135d2b5631f4bad81adb0c86ac213b7a (diff)
downloadFreeBSD-src-69470d28bf26ee56ca50f7ff517ef29f908c108c.zip
FreeBSD-src-69470d28bf26ee56ca50f7ff517ef29f908c108c.tar.gz
MFC rev. 265260:
Add appropriate quoting to allow building with a KERNCONFDIR containing spaces. PR: kern/162736
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 3ffc1a4..3f065ec 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1002,7 +1002,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
@@ -1831,7 +1831,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