From owner-svn-src-all@FreeBSD.ORG Sat Jun 25 16:01:45 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE31D106566B; Sat, 25 Jun 2011 16:01:45 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CE94D8FC08; Sat, 25 Jun 2011 16:01:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p5PG1jRg013524; Sat, 25 Jun 2011 16:01:45 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p5PG1j7q013520; Sat, 25 Jun 2011 16:01:45 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201106251601.p5PG1j7q013520@svn.freebsd.org> From: Marius Strobl Date: Sat, 25 Jun 2011 16:01:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r223539 - head/sys/boot X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2011 16:01:46 -0000 Author: marius Date: Sat Jun 25 16:01:45 2011 New Revision: 223539 URL: http://svn.freebsd.org/changeset/base/223539 Log: As with EFI, OFW and U-Boot etc only compile FDT support on those architectures that actually use it. Modified: head/sys/boot/Makefile head/sys/boot/Makefile.arm head/sys/boot/Makefile.powerpc Modified: head/sys/boot/Makefile ============================================================================== --- head/sys/boot/Makefile Sat Jun 25 15:51:44 2011 (r223538) +++ head/sys/boot/Makefile Sat Jun 25 16:01:45 2011 (r223539) @@ -8,10 +8,6 @@ SUBDIR+= ficl .endif -.if ${MK_FDT} != "no" -SUBDIR+= fdt -.endif - # Pick the machine-dependent subdir based on the target architecture. ADIR= ${MACHINE:S/amd64/i386/:S/powerpc64/powerpc/} .if exists(${.CURDIR}/${ADIR}/.) Modified: head/sys/boot/Makefile.arm ============================================================================== --- head/sys/boot/Makefile.arm Sat Jun 25 15:51:44 2011 (r223538) +++ head/sys/boot/Makefile.arm Sat Jun 25 16:01:45 2011 (r223539) @@ -1,3 +1,7 @@ # $FreeBSD$ +.if ${MK_FDT} != "no" +SUBDIR+= fdt +.endif + SUBDIR+= uboot Modified: head/sys/boot/Makefile.powerpc ============================================================================== --- head/sys/boot/Makefile.powerpc Sat Jun 25 15:51:44 2011 (r223538) +++ head/sys/boot/Makefile.powerpc Sat Jun 25 16:01:45 2011 (r223539) @@ -1,4 +1,8 @@ # $FreeBSD$ +.if ${MK_FDT} != "no" +SUBDIR+= fdt +.endif + SUBDIR+= ofw SUBDIR+= uboot