From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from cyclops.biessmann.org ([134.0.25.77]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WbmQt-0002oS-Sr for ptxdist@pengutronix.de; Sun, 20 Apr 2014 09:45:00 +0200 From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Sun, 20 Apr 2014 09:48:45 +0200 Message-Id: <1397980125-86972-1-git-send-email-andreas@biessmann.de> In-Reply-To: <1392902934-21165-1-git-send-email-andreas@biessmann.de> References: <1392902934-21165-1-git-send-email-andreas@biessmann.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2] ptxdist: check vendor for ct-ng toolchain Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Bernhard Walle QmVmb3JlIHRoZSB0b29sY2hhaW4gdmVuZG9yIGNoZWNrIHdhcyBkZWRpY2F0ZWQgdG8gT1NFTEFT LlRvb2xjaGFpbi4KVGhpcyBwYXRjaCBpbnRyb2R1Y2VzIHRoaXMgZmVhdHVyZSB0byBhIHRvb2xj aGFpbiBidWlsdCB3aXRoIGN0LW5nLgoKU2lnbmVkLW9mZi1ieTogQW5kcmVhcyBCaWXDn21hbm4g PGFuZHJlYXNAYmllc3NtYW5uLmRlPgpDYzogQmVybmhhcmQgV2FsbGUgPGJlcm5oYXJkQGJ3YWxs ZS5kZT4KLS0tCgpDaGFuZ2VzIGluIHYyOgoqIHVzZSBmdWxsIGN0LW5nIHZlcnNpb24gc3RyaW5n IGluIGZhdm91ciBvZiBqdXN0IENUX1RPT0xDSEFJTl9QS0dWRVJTSU9OCgogYmluL3B0eGRpc3Qg fCAzNiArKysrKysrKysrKysrKysrKysrKysrKysrKysrKy0tLS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