Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/conf Test for kernel build directory ...
details: https://anonhg.NetBSD.org/src/rev/e108583b766f
branches: trunk
changeset: 354977:e108583b766f
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Jul 06 21:07:09 2017 +0000
description:
Test for kernel build directory before reading DTB list
diffstat:
distrib/utils/embedded/conf/armv7.conf | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 48a6a5e62784 -r e108583b766f distrib/utils/embedded/conf/armv7.conf
--- a/distrib/utils/embedded/conf/armv7.conf Thu Jul 06 20:26:05 2017 +0000
+++ b/distrib/utils/embedded/conf/armv7.conf Thu Jul 06 21:07:09 2017 +0000
@@ -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 @@
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}"
Home |
Main Index |
Thread Index |
Old Index