Module Name: src
Committed By: christos
Date: Tue Apr 23 13:36:42 UTC 2019
Modified Files:
src/sys/conf: dts.mk
Log Message:
Add -h to the link command so that we replace the target file each time; this
should fix:
*** Failed target: .BEGIN
*** Failed command: ln -sf
/usr/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts dts/arm
*** Error code 1 (ignored)
ln: dts/arm/dts: Permission denied
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/conf/dts.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/conf/dts.mk
diff -u src/sys/conf/dts.mk:1.10 src/sys/conf/dts.mk:1.11
--- src/sys/conf/dts.mk:1.10 Sun Dec 16 23:37:15 2018
+++ src/sys/conf/dts.mk Tue Apr 23 09:36:42 2019
@@ -1,4 +1,4 @@
-# $NetBSD: dts.mk,v 1.10 2018/12/17 04:37:15 thorpej Exp $
+# $NetBSD: dts.mk,v 1.11 2019/04/23 13:36:42 christos Exp $
DTSARCH?=${MACHINE_CPU}
DTSGNUARCH?=${DTSARCH}
@@ -8,7 +8,7 @@ DTSPADDING?=1024
.BEGIN::
-@mkdir -p dts
.for _arch in ${DTSGNUARCH}
- -@ln -sf ${S:S@^../@../../@}/external/gpl2/dts/dist/arch/${_arch}/boot/dts dts/${_arch}
+ -@ln -shf ${S:S@^../@../../@}/external/gpl2/dts/dist/arch/${_arch}/boot/dts dts/${_arch}
.endfor
.endif