NetBSD-Bugs archive

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

Re: misc/54657: releasedir from evbarm "build.sh release" differs from ftp.netbsd.org



The following reply was made to PR misc/54657; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: misc/54657: releasedir from evbarm "build.sh release" differs
 from ftp.netbsd.org
Date: Tue, 29 Oct 2019 19:26:47 +0100

 Here is a patch that should do the equivalent of the magic hidden code;
 not tested yet.
 
 Martin
 
 Index: bsd.README
 ===================================================================
 RCS file: /cvsroot/src/share/mk/bsd.README,v
 retrieving revision 1.394
 diff -u -r1.394 bsd.README
 --- bsd.README	10 Aug 2019 12:46:38 -0000	1.394
 +++ bsd.README	29 Oct 2019 18:24:37 -0000
 @@ -796,7 +796,8 @@
  
  RELEASEMACHINEDIR
  		Subdirectory used below RELEASEDIR when building
 -		a release.  [${MACHINE}]
 +		a release.  [${MACHINE},
 +		or ${MACHINE}-${MACHINE_ARCH} for evb{arm,mips,sh3}*]
  
  RELEASEMACHINE	Subdirectory or path component used for the following
  		paths:
 Index: bsd.own.mk
 ===================================================================
 RCS file: /cvsroot/src/share/mk/bsd.own.mk,v
 retrieving revision 1.1158
 diff -u -r1.1158 bsd.own.mk
 --- bsd.own.mk	24 Oct 2019 18:46:20 -0000	1.1158
 +++ bsd.own.mk	29 Oct 2019 18:24:38 -0000
 @@ -19,7 +19,12 @@
  #
  # Subdirectory used below ${RELEASEDIR} when building a release
  #
 +.if !empty(MACHINE:Mevbarm) || !empty(MACHINE:Mevbmips) \
 +	|| !empty(MACHINE:Mevbsh3)
 +RELEASEMACHINEDIR?=	${MACHINE}-${MACHINE_ARCH}
 +.else
  RELEASEMACHINEDIR?=	${MACHINE}
 +.endif
  
  #
  # Subdirectory or path component used for the following paths:
 


Home | Main Index | Thread Index | Old Index