From owner-freebsd-arm@freebsd.org Thu Apr 7 07:14:35 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8FD8B06689 for ; Thu, 7 Apr 2016 07:14:35 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 745751745 for ; Thu, 7 Apr 2016 07:14:35 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x22f.google.com with SMTP id e185so88119811vkb.1 for ; Thu, 07 Apr 2016 00:14:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=y9yqGqdxFcE4A5MFIdZATIqO0TA6Mw/OIF+z1Ftizas=; b=g5UctJEK+HfswDWdddndNpc/BpO402F0X9QCteLhLLsCaUkTBEAcos1qjcBjqUZvF1 3re4Mv1QH6J1J5XDrFbu4nvOJtWA8yy3CwIEQlfAPkxVGgQ/5oCkW/vsSW9omxyE+BAS eyv2aJ7b9GIW0Ol4APqPkf1YviavPv3/gvorXibsU2NOjIVpGZFpjf7cJnYrOX8OT6NI ndHxpdWvVZF2n2Iu3bCYQdvIztvWkKLcmW1U0axeglyz1t3IO7ltVQd1VsWt8+sj+g+n XzrbtKC9fl10JLUCpYre5DU5tFl1hy7jLeJOsTLedN/quMMmuzOYtnufqhsv4jQcjE5H 8awg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=y9yqGqdxFcE4A5MFIdZATIqO0TA6Mw/OIF+z1Ftizas=; b=MmMG2OvbfNBJIkoSSuN0/srqgBXMR8pK8OyOFxUuJ1F4UBYTNJS86pKEHC1Wape43+ XnIVtxk5C4L/T1P4UqR4T/cvv2lt1Yl2y7it1OTIpjGN3KpDuIRXHjDtOT7MDi0lHjsW fe1pUCyJqwxUquPVA/BVDAhbmDSDcvKXRcupWHUx2zRNVPF2NtlX12A76a02UT9ht6j1 X9nN0ETwbupfFhqPzkWwDqoQBkrGHebfiXSoaRPiLFL0fxSOXS2cm/Ojs8VyEC3Jk+Tb yaf6yShd4IZN4M9Kiew1zG6embuGnye8frT+TXVvPsZNNDVPAiH/hE+sxDruHOe2fs7h jtSg== X-Gm-Message-State: AD7BkJJMEIfj75QWWJexYCJmWtLaxAhQCA3iZXwJRWzVYMYlLjoOsd17ciwC05o58RqUUfhK5FIT8YNri3DUOw== MIME-Version: 1.0 X-Received: by 10.31.56.151 with SMTP id f145mr668225vka.107.1460013274601; Thu, 07 Apr 2016 00:14:34 -0700 (PDT) Received: by 10.31.54.13 with HTTP; Thu, 7 Apr 2016 00:14:34 -0700 (PDT) In-Reply-To: <570601E1.1080704@passap.ru> References: <570601E1.1080704@passap.ru> Date: Thu, 7 Apr 2016 00:14:34 -0700 Message-ID: Subject: Re: Indication of Successful Build From: Russell Haley To: Boris Samorodov Cc: Mark Millard , freebsd-arm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2016 07:14:35 -0000 On Wed, Apr 6, 2016 at 11:44 PM, Boris Samorodov wrote: > 06.04.16 23:14, Russell Haley =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Thanks for the input Mark. >> >> I'm currently looking into the cross build script on the developers > > Sees that you misunderstood Marks word "script". He uses SCRIPT(1) > to save build script output to a log-file. Thank you, I understood what he was doing. I was refering to the script her= e: https://wiki.freebsd.org/FreeBSD/arm/crossbuild > >> wiki, as well as considering updating crochet to use the u-boot ports >> and adding hummingboard to it. I'm going to take all these suggestions >> and see what I can come up with. In my mind it wouldn't be hard to use >> the return codes indicated by Boris to create a running log of make >> results and copy successful outputs to a different directory. What >> raises my concern is that I can't be the first person to ever come up >> with this idea, so where are all the other attempts at this? In my >> mind that means I'm either way ahead of the curve (not) or I am going >> down the wrong path and there is something else to this I haven't >> considered. > > I'd say that most developers have different purposes, plus it's not hard > to create a shell script to automate the task. So everybody have some of > them at their armoury. Here is mine (written once in a hurry, but used > to be helpful and used often). Thank you for your script. This is precisely what I was looking for: some input on how other people build! >> Anyway, I keep telling myself to get on with my own project, but there >> is just so much fun stuff to play with down in the guts of FreeBSD! I >> was just trying to get booting from NFS to work. lolz. Okay, down the >> rabbit hole... >> >> Thanks, >> >> Alice (Russ) >> >> On Wed, Apr 6, 2016 at 12:13 PM, Mark Millard wrot= e: >>> I use script to make a typescript/log file and keep the log file for as= long as I care. So, for example, the script use in: >>> >>>> # more ~/sys_build_scripts.powerpc64-host/make_powerpc64vtsc_nodebug_i= ncl_clang_xtoolchain-powerpc64-host.sh >>>> script ~/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_incl_cl= ang_xtoolchain-powerpc64-host-$(date +%Y-%m-%d:%H:%M:%S) \ >>>> env __MAKE_CONF=3D"/root/src.configs/make.conf" SRC_ENV_CONF=3D"/root/= src.configs/src.conf.powerpc64-xtoolchain.powerpc64-host" \ >>>> MAKEOBJDIRPREFIX=3D"/usr/obj/xtoolchain/powerpc.powerpc64" \ >>>> make $* > > -- > WBR, Boris Samorodov (bsam) > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve