Subject: toolchain/17310: Configuring to not build toolchain
To: None <gnats-bugs@gnats.netbsd.org>
From: Ian Dall <Ian.Dall@dsto.defence.gov.au>
List: netbsd-bugs
Date: 06/19/2002 16:04:17
>Number:         17310
>Category:       toolchain
>Synopsis:       Configuring to not build toolchain
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 18 23:41:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ian Dall
>Release:        NetBSD 1.5ZC
>Organization:
private
>Environment:
	
	
System: NetBSD gateway.beware.dropbear.id.au 1.5ZC NetBSD 1.5ZC (SIBYL) #2: Sat Jun 15 00:22:45 CST 2002 ian@sibyl.beware.dropbear.id.au:/usr1/local/src/netbsd/src/sys/arch/pc532/compile/SIBYL pc532
Architecture: ns32k
Machine: pc532
>Description:
	 In
tools/Makefile, the build of toolchain is supressed for x86_64
arch. However, it is useful to be able to suppress the building of
the toolchain when testing/developing external tools.
>How-To-Repeat:
	
>Fix:
	
The following patch suppresses the building of TOOLCHAIN_BITS if
NO_BUILD_TOOLCHAIN == "yes".

Index: netbsd/src/tools/Makefile
diff -c netbsd/src/tools/Makefile:1.1.1.9 netbsd/src/tools/Makefile:1.4
*** netbsd/src/tools/Makefile:1.1.1.9	Wed Jun 12 12:22:28 2002
--- netbsd/src/tools/Makefile	Mon Jun 17 22:03:53 2002
***************
*** 2,9 ****
  
  .include <bsd.own.mk>
  
! # XXX We can't currently build the toolchain for ns32k or x86-64.
! .if ${MACHINE_ARCH} != "ns32k" && ${MACHINE_ARCH} != "x86_64"
  TOOLCHAIN_BITS= toolchain .WAIT dbsym mdsetimage
  .endif
  
--- 2,9 ----
  
  .include <bsd.own.mk>
  
! # XXX We can't currently build the toolchain for x86-64.
! .if ${NO_BUILD_TOOLCHAIN:Uno} != "yes" && ${MACHINE_ARCH} != "x86_64"
  TOOLCHAIN_BITS= toolchain .WAIT dbsym mdsetimage
  .endif
  
>Release-Note:
>Audit-Trail:
>Unformatted: