From owner-svn-src-head@FreeBSD.ORG Tue May 6 04:22:39 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D97FFD8; Tue, 6 May 2014 04:22:39 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEB3CD5F; Tue, 6 May 2014 04:22:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s464McEc066119; Tue, 6 May 2014 04:22:38 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s464Mb2h066111; Tue, 6 May 2014 04:22:37 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201405060422.s464Mb2h066111@svn.freebsd.org> From: Warner Losh Date: Tue, 6 May 2014 04:22:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r265423 - in head: . share/mk usr.bin usr.bin/bmake usr.bin/make X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 04:22:39 -0000 Author: imp Date: Tue May 6 04:22:37 2014 New Revision: 265423 URL: http://svnweb.freebsd.org/changeset/base/265423 Log: Remove support for WITHOUT_BMAKE. bmake is now the only make that can build world, so it is the only make we build or install. fmake is still in the tree, but disconnected, and upgrades from older systems that still have bmake has not been removed, but its state has not been tested (it should work given how minimal the work to upgrade to bmake is). Modified: head/Makefile head/share/mk/src.opts.mk head/usr.bin/Makefile head/usr.bin/bmake/Makefile.inc head/usr.bin/make/Makefile Modified: head/Makefile ============================================================================== --- head/Makefile Tue May 6 04:22:29 2014 (r265422) +++ head/Makefile Tue May 6 04:22:37 2014 (r265423) @@ -139,11 +139,7 @@ _MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH # Choices add to complexity though. # We cannot blindly use a make which may not be the one we want # so be exlicit - until all choice is removed. -.if !defined(WITHOUT_BMAKE) WANT_MAKE= bmake -.else -WANT_MAKE= fmake -.endif MYMAKE= ${MAKEOBJDIRPREFIX}${.CURDIR}/make.${MACHINE}/${WANT_MAKE} .if defined(.PARSEDIR) HAVE_MAKE= bmake @@ -152,7 +148,7 @@ HAVE_MAKE= fmake .endif .if exists(${MYMAKE}) SUB_MAKE:= ${MYMAKE} -m ${.CURDIR}/share/mk -.elif ${WANT_MAKE} != ${HAVE_MAKE} || ${WANT_MAKE} != "bmake" +.elif ${WANT_MAKE} != ${HAVE_MAKE} # It may not exist yet but we may cause it to. # In the case of fmake, upgrade_checks may cause a newer version to be built. SUB_MAKE= `test -x ${MYMAKE} && echo ${MYMAKE} || echo ${MAKE}` \ Modified: head/share/mk/src.opts.mk ============================================================================== --- head/share/mk/src.opts.mk Tue May 6 04:22:29 2014 (r265422) +++ head/share/mk/src.opts.mk Tue May 6 04:22:37 2014 (r265423) @@ -65,7 +65,6 @@ __DEFAULT_YES_OPTIONS = \ BINUTILS \ BINUTILS_BOOTSTRAP \ BLUETOOTH \ - BMAKE \ BOOT \ BSD_CPIO \ BSNMP \ Modified: head/usr.bin/Makefile ============================================================================== --- head/usr.bin/Makefile Tue May 6 04:22:29 2014 (r265422) +++ head/usr.bin/Makefile Tue May 6 04:22:37 2014 (r265423) @@ -279,11 +279,7 @@ SUBDIR+= msgs .endif .if ${MK_MAKE} != "no" -.if ${MK_BMAKE} != "no" SUBDIR+= bmake -.else -SUBDIR+= make -.endif .endif .if ${MK_MAN_UTILS} != "no" Modified: head/usr.bin/bmake/Makefile.inc ============================================================================== --- head/usr.bin/bmake/Makefile.inc Tue May 6 04:22:29 2014 (r265422) +++ head/usr.bin/bmake/Makefile.inc Tue May 6 04:22:37 2014 (r265423) @@ -7,15 +7,7 @@ .export SRCTOP .endif -# Sadly, we cannot assume src.opts.mk did its job, -# nor can we safely include the one we want -.if !defined(WITHOUT_BMAKE) -MK_BMAKE= yes -.endif - -.if defined(MK_BMAKE) && ${MK_BMAKE} != "no" PROG= make -.endif .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no" NO_SHARED?= YES Modified: head/usr.bin/make/Makefile ============================================================================== --- head/usr.bin/make/Makefile Tue May 6 04:22:29 2014 (r265422) +++ head/usr.bin/make/Makefile Tue May 6 04:22:37 2014 (r265423) @@ -111,12 +111,10 @@ CFLAGS+= -DDEFSHELLNAME=\"${MAKE_SHELL}\ .error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"." .endif -.if defined(MK_BMAKE) && ${MK_BMAKE} != "no" # if we are here we don't want this called 'make' PROG= fmake fmake.1: make.1 cp ${.ALLSRC} ${.TARGET} -.endif .if ${MK_TESTS} != "no" SUBDIR+= tests