From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3789 invoked by alias); 2 Jan 2019 17:11:40 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 3231 invoked by uid 89); 2 Jan 2019 17:11:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*Ad:D*nl, H*f:sk:7c40d7e, H*i:sk:7c40d7e, dear X-HELO: pubserv1.fransdb.nl Received: from fransdb.nl (HELO pubserv1.fransdb.nl) (80.101.31.146) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Jan 2019 17:11:37 +0000 Received: from localhost (localhost [127.0.0.1]) by pubserv1.fransdb.nl (Postfix) with ESMTP id B4EA441780 for ; Wed, 2 Jan 2019 18:11:35 +0100 (CET) Received: from pubserv1.fransdb.nl ([127.0.0.1]) by localhost (pubserv1.fransdb.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ah6MWT9c5CoV for ; Wed, 2 Jan 2019 18:11:31 +0100 (CET) Received: from [192.168.101.128] (fransdb.nl [80.101.31.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: frans@fransdb.nl) by pubserv1.fransdb.nl (Postfix) with ESMTPSA id C491E40077 for ; Wed, 2 Jan 2019 18:11:31 +0100 (CET) Subject: Re: addToolVersion.sh To: crossgcc@sourceware.org References: <7c40d7ef-8484-c736-b70a-349c8dd94083@gmail.com> From: Frans de Boer Message-ID: Date: Wed, 02 Jan 2019 17:11:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <7c40d7ef-8484-c736-b70a-349c8dd94083@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00002.txt.bz2 On 02-01-19 17:03, Josh Branning wrote: > On 02/01/19 12:00, Frans de Boer wrote: >> Dear Reader, >> >> I am using the git version of crosstool-NG and want to add a new >> kernel. However, the above mentioned tool as well as the potential >> replacement gen-versions.sh are nowhere to be found. >> >> I can add things manually in linux.in and in the new chksum file, but >> that seems a bit awkward knowing that there have been (a) tool(s) for >> this purpose. >> >> Suggestion? >> >> Regards, Frans. >> > > Hi there, this is probably not the best way, but is how I did so for > the linux-libre kernel; > > https://git.parabola.nu/abslibre.git/tree/pcr/crosstool-ng/ctng-libre.patch > > > Josh Well, if you have not yet compiled the software, then you only need to add a directory with a chsum file for the wanted kernel software. Not sure if this approach for linux-libre-* works too. But having compiled the software and you want to patch (update) only, you also have to add some lines to the linux.in file. The structure is also given within the linux.in file. So, it is fairly easy to make a script file for that. Making a script for all others pieces of software might become a bigger hurdle to take, but still doable. Maybe I use/adapt the tool from the 1.23 release. Still wondering why it was not (anymore) included in the git (master) repository. -- Frans.