From owner-cvs-src-old@FreeBSD.ORG Sat Nov 13 03:13:24 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACBAB1065672 for ; Sat, 13 Nov 2010 03:13:24 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9860D8FC17 for ; Sat, 13 Nov 2010 03:13:24 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAD3DOVU059561 for ; Sat, 13 Nov 2010 03:13:24 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAD3DOlH059558 for cvs-src-old@freebsd.org; Sat, 13 Nov 2010 03:13:24 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201011130313.oAD3DOlH059558@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Sat, 13 Nov 2010 03:11:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/rescue/rescue Makefile src/share/mk bsd.crunchgen.mk X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 03:13:24 -0000 adrian 2010-11-13 03:11:27 UTC FreeBSD src repository Modified files: rescue/rescue Makefile Added files: share/mk bsd.crunchgen.mk Log: SVN rev 215226 on 2010-11-13 03:11:27Z by adrian Break out the rules which generate crunchgen'ed binaries into a separate .mk file so they can be reused. Introduce a new option, CRUNCH_BUILDTOOLS, which lists the binaries that require tools built in the local architecture. sh and csh both require this. It was previously hardcoded in rescue/rescue/Makefile . Introduce a new option, CRUNCH_SHLIBS, which lists the shared libraries to link against. These override the static libraries listed in CRUNCH_LIBS. Some build environments may wish to use a handful of shared libraries (eg libc.so) so other small, dynamic binaries can be run in the environment. Remove the now-shared code from rescue/rescue/Makefile and introduce the CRUNCH_BUILDTOOLS option for the above shells. Revision Changes Path 1.76 +4 -149 src/rescue/rescue/Makefile 1.1 +160 -0 src/share/mk/bsd.crunchgen.mk (new)