From owner-freebsd-arch@FreeBSD.ORG Fri Nov 12 01:26:18 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 165211065670 for ; Fri, 12 Nov 2010 01:26:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9E6848FC16 for ; Fri, 12 Nov 2010 01:26:17 +0000 (UTC) Received: by wya21 with SMTP id 21so298489wya.13 for ; Thu, 11 Nov 2010 17:26:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=l+TxEDxVKRECPOcmUHMBgRJv1AHh59WVaSSv4pulxdA=; b=IZcD7gAHhkzH+3nMoJUHzb3BLxksXfKlCOZgtm1z7leOVKh4w1dnsidPLsvga/r1xT rvvtJ7sP2DK9BzMMiQqDumWAIaIMolYw9iOw0f0SMs1cVtmjt0CDDPud2A40zD7RxNPr BpJwDLBlEChtZBETF1KYhACIOpgqjSLF9ppno= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=B19zBVZ1znwIPCxWgp7wxvOmKDNQIhbEgEgKo8d+UAGbXAuD9tXhFIAo6MgCIeBi93 5w+9FfmB5eLCDZ9WbQV/Ds1yP0KWxE1Az8VyvWPj7gbSW0lygc5rpDyqyVxFrahMwqef 0VL8iSjzaYPzrd9XNHoGL0AnrQ31sqo28U43M= MIME-Version: 1.0 Received: by 10.216.51.21 with SMTP id a21mr1396637wec.50.1289523659569; Thu, 11 Nov 2010 17:00:59 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.65.210 with HTTP; Thu, 11 Nov 2010 17:00:59 -0800 (PST) In-Reply-To: References: Date: Fri, 12 Nov 2010 09:00:59 +0800 X-Google-Sender-Auth: LJy1JR1RoPOu4kduZOjM-D3oGc8 Message-ID: From: Adrian Chadd To: freebsd-arch@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: breaking the crunchgen logic into a share/mk file X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 01:26:18 -0000 FYI, I'd like to commit this today if possible. Will this break any kind of builds that I haven't thought of? It's introducing a new mk rule file which needs to be wherever 'make' checks its paths. Thanks, Adrian ---------- Forwarded message ---------- From: Adrian Chadd Date: 5 October 2010 10:36 Subject: breaking the crunchgen logic into a share/mk file To: freebsd-hackers@freebsd.org 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