From owner-svn-src-stable-11@freebsd.org Fri Apr 6 19:54:11 2018 Return-Path: Delivered-To: svn-src-stable-11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D046F8127A; Fri, 6 Apr 2018 19:54:11 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 215A77321E; Fri, 6 Apr 2018 19:54:11 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C29A166D4; Fri, 6 Apr 2018 19:54:11 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w36JsAFY042979; Fri, 6 Apr 2018 19:54:10 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w36JsAXt042974; Fri, 6 Apr 2018 19:54:10 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <201804061954.w36JsAXt042974@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Fri, 6 Apr 2018 19:54:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r332148 - in stable/11/stand: efi i386 powerpc sparc64 uboot X-SVN-Group: stable-11 X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: in stable/11/stand: efi i386 powerpc sparc64 uboot X-SVN-Commit-Revision: 332148 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for only the 11-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2018 19:54:11 -0000 Author: kevans Date: Fri Apr 6 19:54:10 2018 New Revision: 332148 URL: https://svnweb.freebsd.org/changeset/base/332148 Log: MFC r330249-r330250 r330249: stand: Makefile SUBDIR cleanup Use SUBDIR.${MK_*} where appropriate. r330248 eliminated most of the offenders, sweep the rest under the rug. Differential Revision: https://reviews.freebsd.org/D14545 r330250: stand: Fix build after r330249 One does not simply convert to SUBDIR.yes in stand without making everything else in the affected files SUBDIR.yes -- there are better ways to do this. Modified: stable/11/stand/efi/Makefile stable/11/stand/i386/Makefile stable/11/stand/powerpc/Makefile stable/11/stand/sparc64/Makefile stable/11/stand/uboot/Makefile Directory Properties: stable/11/ (props changed) Modified: stable/11/stand/efi/Makefile ============================================================================== --- stable/11/stand/efi/Makefile Fri Apr 6 19:52:00 2018 (r332147) +++ stable/11/stand/efi/Makefile Fri Apr 6 19:54:10 2018 (r332148) @@ -8,11 +8,8 @@ NO_OBJ=t # than 4.5 supports it. .if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500 -.if ${MK_FDT} != "no" -SUBDIR+= fdt -.endif - -SUBDIR+= libefi loader boot1 +SUBDIR.${MK_FDT}+= fdt +SUBDIR.yes+= libefi loader boot1 .endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500 Modified: stable/11/stand/i386/Makefile ============================================================================== --- stable/11/stand/i386/Makefile Fri Apr 6 19:52:00 2018 (r332147) +++ stable/11/stand/i386/Makefile Fri Apr 6 19:54:10 2018 (r332148) @@ -4,24 +4,20 @@ NO_OBJ=t .include -SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \ +SUBDIR.yes= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \ libi386 -.if ${MK_LOADER_FIREWIRE} == "yes" -SUBDIR+= libfirewire -.endif +SUBDIR.${MK_LOADER_FIREWIRE}+= libfirewire -SUBDIR+= loader +SUBDIR.yes+= loader # special boot programs, 'self-extracting boot2+loader' -SUBDIR+= pxeldr +SUBDIR.yes+= pxeldr .if ${MACHINE_CPUARCH} == "i386" -SUBDIR+= kgzldr +SUBDIR.yes+= kgzldr .endif -.if ${MK_ZFS} != "no" -SUBDIR+= zfsboot gptzfsboot zfsloader -.endif +SUBDIR.${MK_ZFS}+= zfsboot gptzfsboot zfsloader .include Modified: stable/11/stand/powerpc/Makefile ============================================================================== --- stable/11/stand/powerpc/Makefile Fri Apr 6 19:52:00 2018 (r332147) +++ stable/11/stand/powerpc/Makefile Fri Apr 6 19:54:10 2018 (r332148) @@ -4,9 +4,7 @@ NO_OBJ=t .include -SUBDIR= boot1.chrp ofw uboot -.if ${MK_FDT} == "yes" -SUBDIR+= kboot -.endif +SUBDIR.yes= boot1.chrp ofw uboot +SUBDIR.${MK_FDT}+= kboot .include Modified: stable/11/stand/sparc64/Makefile ============================================================================== --- stable/11/stand/sparc64/Makefile Fri Apr 6 19:52:00 2018 (r332147) +++ stable/11/stand/sparc64/Makefile Fri Apr 6 19:54:10 2018 (r332148) @@ -4,9 +4,7 @@ NO_OBJ=t .include -SUBDIR= boot1 loader -.if ${MK_ZFS} != "no" -SUBDIR+=zfsboot zfsloader -.endif +SUBDIR.yes= boot1 loader +SUBDIR.${MK_ZFS}+=zfsboot zfsloader .include Modified: stable/11/stand/uboot/Makefile ============================================================================== --- stable/11/stand/uboot/Makefile Fri Apr 6 19:52:00 2018 (r332147) +++ stable/11/stand/uboot/Makefile Fri Apr 6 19:54:10 2018 (r332148) @@ -2,10 +2,8 @@ .include -SUBDIR= lib +SUBDIR.yes= lib -.if ${MK_FDT} != "no" -SUBDIR+=fdt -.endif +SUBDIR.${MK_FDT}+=fdt .include