Module Name: src Committed By: jmcneill Date: Thu Jul 6 21:07:09 UTC 2017
Modified Files: src/distrib/utils/embedded/conf: armv7.conf Log Message: Test for kernel build directory before reading DTB list To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/distrib/utils/embedded/conf/armv7.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/utils/embedded/conf/armv7.conf diff -u src/distrib/utils/embedded/conf/armv7.conf:1.13 src/distrib/utils/embedded/conf/armv7.conf:1.14 --- src/distrib/utils/embedded/conf/armv7.conf:1.13 Thu Jul 6 00:17:04 2017 +++ src/distrib/utils/embedded/conf/armv7.conf Thu Jul 6 21:07:09 2017 @@ -1,4 +1,4 @@ -# $NetBSD: armv7.conf,v 1.13 2017/07/06 00:17:04 jmcneill Exp $ +# $NetBSD: armv7.conf,v 1.14 2017/07/06 21:07:09 jmcneill Exp $ # ARMv7 customization script used by mkimage # board=armv7 @@ -139,7 +139,9 @@ populate() { done # .dtb files for k in $kernels_sunxi $kernels_tegra; do - dtbs="$(${MAKE} -C ${KERNOBJDIR}/${k} -v DTB)" + test -d "${KERNOBJDIR}/${k}" && \ + dtbs="$(${MAKE} -C ${KERNOBJDIR}/${k} -v DTB)" || \ + dtbs= for dtb in $dtbs; do f="${kernel}/${dtb}.gz" test -f "${f}" && kernels="${kernels} ${f}"