Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf Add -h to the link command so that we replace the t...



details:   https://anonhg.NetBSD.org/src/rev/1943563c44ef
branches:  trunk
changeset: 998598:1943563c44ef
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 23 13:36:42 2019 +0000

description:
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

diffstat:

 sys/conf/dts.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f721f61f7b11 -r 1943563c44ef sys/conf/dts.mk
--- a/sys/conf/dts.mk   Tue Apr 23 11:21:21 2019 +0000
+++ b/sys/conf/dts.mk   Tue Apr 23 13:36:42 2019 +0000
@@ -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 @@
 .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
 



Home | Main Index | Thread Index | Old Index