From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 5 02:58:42 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8536B1065673 for ; Tue, 5 Oct 2010 02:58:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8408FC19 for ; Tue, 5 Oct 2010 02:58:41 +0000 (UTC) Received: by iwn34 with SMTP id 34so911034iwn.13 for ; Mon, 04 Oct 2010 19:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=YDMfhSeE/oQjBVWzUhN5ZO4kBOk3ehQMBrp0YB7QcqE=; b=XNfS/MnoCGfFQCV9OMYYE/OMqwWBAU3oabgdId0RWUMJKE173mSHYeAUGL/OykwXun PK7Im0BneOAKL/KbOJu9xEfNE7QSCh/BbSq3X0d2Psgg5hEpjp8zvzCiodzLNAdoaoQ7 qK3KVo9LrfzoypZOi39lbH0eqo3PVDYs6ZjgQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=fheVAm6zeRXNtA1+ZLZKmnGkFmslrvBXMKSrX+n9e0hrMTVdV7+4wXpQCvsnvPHnj3 YBOjdBgEzK+/MFWAlRjex1Y6ojJGePce9rjvEBxI0Gvm01f1JOEJNZZcWHNzaMN/jA3/ zNwPqzie8/0RGhowtOvYzU3Gg/lAcCcuVaefA= MIME-Version: 1.0 Received: by 10.231.10.139 with SMTP id p11mr11203144ibp.179.1286246191663; Mon, 04 Oct 2010 19:36:31 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.231.171.203 with HTTP; Mon, 4 Oct 2010 19:36:31 -0700 (PDT) Date: Tue, 5 Oct 2010 10:36:31 +0800 X-Google-Sender-Auth: y9UKIQ6lbDEhr8d9-3x3q2UqugU Message-ID: From: Adrian Chadd To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: breaking the crunchgen logic into a share/mk file X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2010 02:58:42 -0000 Hi, I've broken out the crunchgen logic from src/rescue/rescue into a share/mk file - that way it can be reused in other areas. The diff is here: http://people.freebsd.org/~adrian/crunchgen-mk.diff This bsd.crunchgen.mk file is generic enough to use in my busybox-style thing as well as for src/rescue/rescue/. Comments, feedback, etc welcome! Adrian