Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755985AbZGOSE3 (ORCPT ); Wed, 15 Jul 2009 14:04:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755886AbZGOSE2 (ORCPT ); Wed, 15 Jul 2009 14:04:28 -0400 Received: from mail-bw0-f228.google.com ([209.85.218.228]:45817 "EHLO mail-bw0-f228.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755747AbZGOSE1 (ORCPT ); Wed, 15 Jul 2009 14:04:27 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GRSCSdRxeK8IO5vXKyxsI6J8MbwXq7fPTvMubMaOmLaFlwuMmhA+mtCsBzbz7Z32Ez apzVjO1rAqURQU6HIdarPW+EioQ2huYMb4vzb3LKxVV3f4TFqlbNQmma3aHA2WtGkoNZ QVl7O4yS98dKrzpiRKVfxUflE4YYr/POyv94Q= MIME-Version: 1.0 In-Reply-To: References: <20090526152540.GA28341@sepie.suse.cz> <20090703144547.GA20980@sepie.suse.cz> <1247675954.3968.140.camel@quest> Date: Wed, 15 Jul 2009 20:04:24 +0200 Message-ID: Subject: Re: [PATCH] kbuild: generate modules.builtin From: Andreas Robinson To: Kay Sievers Cc: Scott James Remnant , Michal Marek , linux-modules@vger.kernel.org, Sam Ravnborg , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary=0016369fa30ba9f7c4046ec26200 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4274 Lines: 71 --0016369fa30ba9f7c4046ec26200 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Guys, is this patch what you need on the m-i-t end? (Sorry for sending it as an attachment. I'm restricted to webmail at the moment and can't prevent gmail from adding line breaks.) Cheers, Andreas --0016369fa30ba9f7c4046ec26200 Content-Type: text/x-patch; charset=US-ASCII; name="check_modules_builtin.patch" Content-Disposition: attachment; filename="check_modules_builtin.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fx6cwvy50 RnJvbSBkNjBhNGE1NmY1ZDQ4NGE2MDc2YzYwNmExMTE1MTBjZTQwYTRjY2Q4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbmRyZWFzIFJvYmluc29uIDxhbmRyMzQ1QGdtYWlsLmNvbT4K RGF0ZTogV2VkLCAxNSBKdWwgMjAwOSAxOTo0ODo1OSArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIG1v ZHByb2JlOiB3YXJuIHdoZW4gdHJ5aW5nIHRvIGluc2VydCBhIGJ1aWx0LWluIG1vZHVsZQoKVGhl IHByZXZpb3VzIGJlaGF2aW91ciB3YXMgdG8gZmFpbCB3aXRoICJtb2R1bGUgZm9vIG5vdCBmb3Vu ZCIuCgpTaWduZWQtb2ZmLWJ5OiBBbmRyZWFzIFJvYmluc29uIDxhbmRyMzQ1QGdtYWlsLmNvbT4K LS0tCiBtb2Rwcm9iZS5jIHwgICAzNCArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKy0t CiAxIGZpbGVzIGNoYW5nZWQsIDMyIGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pCgpkaWZm IC0tZ2l0IGEvbW9kcHJvYmUuYyBiL21vZHByb2JlLmMKaW5kZXggMjFhMzExMS4uYTA5NDNmZSAx MDA2NDQKLS0tIGEvbW9kcHJvYmUuYworKysgYi9tb2Rwcm9iZS5jCkBAIC0xMDQ5LDYgKzEwNDks MjkgQEAgc3RhdGljIGNoYXIgKmdhdGhlcl9vcHRpb25zKGNoYXIgKmFyZ3ZbXSkKIAlyZXR1cm4g b3B0c3RyaW5nOwogfQogCisvKiBDaGVjayB3aGV0aGVyIGEgbW9kdWxlIGlzIGJ1aWx0IGludG8g dGhlIGtlcm5lbCAqLworc3RhdGljIGludCBpc19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5kbGVf bW9kdWxlKG1vZG5hbWUsICZsaXN0LCBuZXduYW1lLCBjbWRsaW5lX29wdHMsCi0JCQltb2RvcHRp b25zLCBjb21tYW5kcywgY21kbGluZV9vcHRzLCBlcnJvciwgZmxhZ3MpOworCQkJbW9kb3B0aW9u cywgY29tbWFuZHMsIGNtZGxpbmVfb3B0cywgZGlybmFtZSwgZXJyb3IsCisJCQlmbGFncyk7CiAJ fQogCXJldHVybiBmYWlsZWQ7CiB9Ci0tIAoxLjYuMC40Cgo= --0016369fa30ba9f7c4046ec26200-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/