Received: by 10.223.164.200 with SMTP id h8csp700332wrb; Sun, 5 Nov 2017 19:06:54 -0800 (PST) X-Google-Smtp-Source: ABhQp+QGpINTBdSijWu9GPc+tloq/V6PLrrgE0ImQ8LZIuwWldGDuwLHV/Mp9FW7GB35I6pvnW9Q X-Received: by 10.159.246.141 with SMTP id c13mr12312634pls.64.1509937614196; Sun, 05 Nov 2017 19:06:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509937614; cv=none; d=google.com; s=arc-20160816; b=MsTj+HuDBWudCaRLUfhDG2c3DDXJMM41MqXfyahEDiXMQ3ZngY/KlnW8nWxqEonQ4V 6y4oyyN2kuITzGzamBfcKWERbvim/KY50+Z3kqXgIifTNQv5inJpF2NAp2gtoj3yUIC1 F95hd+0y0DvcP+NfkEzlRVuAfthmNzonhCUhhxzXWyrAxyQCItTRex7nC1t0dhklDroJ tGtbVoMQ1lHgV2s5QaGJZXnIAjvnaPuDAzBPcS+wuD1a0Q7KTZmAL6WmOVWakx8ShTGB mj53E4wGPPHIXOT++G3vVLX3JxECo0It+urOrn2svYXvsjVoLCdAxgBLpIung/iQKIFm sFlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=gaK6WO4rZ/0Lhc16dcqy5mtZZrqkLcIXVuTlixRSg7Q=; b=qEuCZrUjmUJNW6WZMUjhsbjEgsGyxfo2fvE9cMns0jGYYu1x7z89vUTYY2GOzuHWI3 bR176FSa2UxXClfoaBzy4y2UnruvlCHEqcsis16S9EzJ5hm1zaow1O5fhu2909cP3j6r 7It450JBg1y8WdU5RIaRn8Ga8A3Ws57J/CPQ8zsMaJUGOKu2dzdzVyOeQJaD3MvltCGJ 4DhT7qCuyGtkWRBrbGJf7tTJ9b1zxpRr42fGUaPgRJjmXIW0f6oW6yoNymjq15CS24n5 oqmguiVGU93Rlco75LCR+jDdqt3yd2fNIcTl6beI/kjaSGU880ryKOluq3EDyLDuHijE hkxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k190si11494997pfc.244.2017.11.05.19.06.39; Sun, 05 Nov 2017 19:06:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751306AbdKFDGB (ORCPT + 96 others); Sun, 5 Nov 2017 22:06:01 -0500 Received: from mga05.intel.com ([192.55.52.43]:47558 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbdKFDGA (ORCPT ); Sun, 5 Nov 2017 22:06:00 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP; 05 Nov 2017 19:06:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,350,1505804400"; d="asc'?scan'208";a="1214605161" Received: from gvt-dell.bj.intel.com (HELO intel.com) ([10.238.154.59]) by fmsmga001.fm.intel.com with SMTP; 05 Nov 2017 19:05:57 -0800 Date: Mon, 6 Nov 2017 10:58:50 +0800 From: "Du, Changbin" To: Ingo Molnar Cc: changbin.du@intel.com, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, linux-kernel@vger.kernel.org, yamada.masahiro@socionext.com Subject: Re: [PATCH 1/4] x86, build: Fact out fdimage/isoimage generation commands to standalone script Message-ID: <20171106025849.GA1464@intel.com> References: <1509873493-17929-1-git-send-email-changbin.du@intel.com> <1509873493-17929-2-git-send-email-changbin.du@intel.com> <20171105093208.5ncgz4o4klv3f3xn@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <20171105093208.5ncgz4o4klv3f3xn@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 05, 2017 at 10:32:08AM +0100, Ingo Molnar wrote: >=20 > A few spelling fixes: >=20 > in the title: >=20 > s/Fact out > /Factor out >=20 > * changbin.du@intel.com wrote: >=20 > > From: Changbin Du > >=20 > > The build message for fdimage/isoimage are pretty unstructured. The raw > > shell command blocks are printed. We can improve them as regular build > > system messages. Besides, writing commands in shell script is much more > > easier than in a Makefile. >=20 > s/much more easier > /much more easy >=20 > >=20 > > See Ingo's suggestion here https://lkml.org/lkml/2017/10/31/124. > >=20 > > This patch fact out the commands used for fdimage/isoimage generation f= rom > > arch/x86/boot/Makefile to new script arch/x86/boot/genimage.sh. Then ad= d a > > new kbuild command 'genimage' which invokes the new script. All > > fdimages/isoimage now is generated by call to 'genimage' with different > > parameters. >=20 > s/fact out > /factors out >=20 > s/to new script > to a new script >=20 > s/Then add > /Then it adds >=20 > s/a new kbuild command 'genimage' > /the new 'genimage' kbuild command >=20 > s/All fdimages/isoimage now is generated by call to > /All fdimage/isoimage files are now generated by a call to >=20 Sorry for these grammar errors. I alwyas forgot to write complete sentences= in English. :) > > +# $3 - kernel bzImage file > > +# $4 - mtool configuration file > > +# $5 - kernel cmdline > > +# $6 - inird image file > > +# >=20 > The new script is much easier to read! >=20 > Thanks, >=20 > Ingo --=20 Thanks, Changbin Du --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJZ/8/pAAoJEAanuZwLnPNUguMIAI9jfv6qGABWwov1Yjeyx0TJ r7IoRS1bts/hMtM/O17+Nyh/zme6LHVxHvkI0uSgJ3qj1qI6Uxh57nE3YR4fLvTx fkEAb1TRFL5+8lFK6uLJ3mdCKoG7K2a1INAZgcjwzI6I8/MmiW/osBKxMd0RGiv5 AS4f9WdfhPWH93bYE0Ul9Gr08nFvuhxPJFoYIW6iqhfsVwlaBN5DCIVPOZZlWULU zWmF0+ae0Zk6o2aQEZswlSVG335nTg59hqTZqOMeNerWOsdgJ7G68sjZQVmkUba7 GJLDnKslnf22VTHeQiTOqWGVPJK8cTKLDHGeqGTC9/MTO8xD3CCEI+qe/+PSszg= =Wp2j -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- From 1583218040749735884@xxx Sun Nov 05 09:33:02 +0000 2017 X-GM-THRID: 1583217731718389564 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread