Received: by 10.223.164.202 with SMTP id h10csp680397wrb; Tue, 7 Nov 2017 12:40:08 -0800 (PST) X-Google-Smtp-Source: ABhQp+SeQ+Eulxkiu6EpiZY7dX5qUqaIZQmss0DxdP7IKluV6ZPKVe76dwMwxjCfenP0sGoZGNY+ X-Received: by 10.98.13.157 with SMTP id 29mr13756pfn.160.1510087208365; Tue, 07 Nov 2017 12:40:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510087208; cv=none; d=google.com; s=arc-20160816; b=ToVvZTuYfyHZT/ilwHbUqUngxin94Fb0Sd4GOl+iXhkMUja4+vb7UjqnqZ6cbbYPQ3 9EwN5KCejMyvHFbELp30E9uvpge3Zd82VmRysvnIGliy0uoDkVeEIuFuUlZrhc/gJa42 jTqD7V0gna1R9+zfA6/rawA2Rky88Yt+acmzdkdL6KzuTI3B130ASKSF4al90wlpQv/Q w9DA0tobNibfYykyry1enu/p7KNw4loqf4jst1P68cFFzPh7C1/8C6nIy03EmB/ugPar CqmbeL2b+GDjOC72x2+0EAkUnb4oq7kkNHam/sdAKe5Y19kGVqWZMbMQqph82MprzPzu qEyw== 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:dkim-signature:arc-authentication-results; bh=alFCnK6b9cjJ8MTHs31o8zgj/ir3WBqmRunWIARPAB0=; b=T4iprL1gOBkFewhzCeEU2g6nVy0kFSwgERTdGB9rQ5UekTpv1STEPC+R+/lxqHe5zy +nQLrNyC2WT/hOqKj19xvScuN971oJU6XFdbdOCKHxkGWW+6AQwodX7JuDzlxQGw6Hrp CTL3d583qGbsjYOljtQ73hQuWkHpb/mCIFC8YP4USSz4PkRAsqeLh3HiH11H5IjGN47+ /ODTozHng9cEe3rAMFWzoT5cxpYo7e4xntoOAAEdz5c9d1YV0JExMsxnPquELPu4Ys2w I1EqfayMl/IOuOJYSo0ieeL9vmXuZH/R7Tn7zoCYhHcrNWm3+9pr3D4acMmr/BbUZnGA tDcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=qtfcmFEJ; 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 a26si2126496pfl.226.2017.11.07.12.39.55; Tue, 07 Nov 2017 12:40:08 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=qtfcmFEJ; 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 S933995AbdKGKUi (ORCPT + 91 others); Tue, 7 Nov 2017 05:20:38 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:46757 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932621AbdKGKUe (ORCPT ); Tue, 7 Nov 2017 05:20:34 -0500 Received: by mail-wm0-f50.google.com with SMTP id r68so2578180wmr.1 for ; Tue, 07 Nov 2017 02:20:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=alFCnK6b9cjJ8MTHs31o8zgj/ir3WBqmRunWIARPAB0=; b=qtfcmFEJQe+o9r9tFMOtBYyqn/xBNdfXKNj1zTSbxLVFBZy569kXBXDsnN0A8zYRZx C+WeYUGYEtR8fNFYFDWoKeEtTr79WAOIzyIR4EziyRyktIoDjCrm1e0IYVLP5RX0g3lJ 9Uj1icy7a88tClNIXVn2MtC5pVR4Ld+N9O9C76gFi73+wCYlCwrxx6L7F37vzI3U7uVC 9hX/m3P35UU7wVmxwm1IwxRrFxItmOYr9iRJC7Ot71LAzl7/WbP4YzUzh0JsrJ1VnW2M s8qHi0Pe8w3xfk+J3tlpC7ZU28QwsSQgs2fa70UfjmoU8iiGH0/90jN70HgBU741u3i1 dveQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=alFCnK6b9cjJ8MTHs31o8zgj/ir3WBqmRunWIARPAB0=; b=r/Be/1QlJZ7t/WaqMCZpyNxlx+iWmyy3WcwSqAx11qgTKIiiW8NSF0Gc82KKFGGohg 7a+6mQ9413nWVabPZOTVnhtqf3vidpKK4Pxytf7c7C+6LDPGzs/pHe986ILtxc7mMbbO twxsqXlemVOmH+J14fv36NsKcqJDs/QgOe8R251b8fjsNDk4w49icC2FUN5Z3TcHHN/D L5uGAmsDSlobDkeJ6a8VO15VS6xjkK06MGqFalksGDqfh9zoDibtrxPsnfHcVM8xykvm dd50vNlZJJLmD6lJQxPpYYbjHfnSPUEe8Zxacav8vZPwNK+1Ru2uibGzhQmTEBsOPpiD v0Xw== X-Gm-Message-State: AJaThX4gl9LZpoOQbo/bNX67VE4VlsRixMo85KEZ58sU4r90kF/R40Uz iXK0x2MPQVoHmX9flN3lI70= X-Received: by 10.28.8.212 with SMTP id 203mr940821wmi.43.1510050033200; Tue, 07 Nov 2017 02:20:33 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id p81sm2108308wrc.61.2017.11.07.02.20.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Nov 2017 02:20:32 -0800 (PST) Date: Tue, 7 Nov 2017 11:20:29 +0100 From: Ingo Molnar To: changbin.du@intel.com Cc: hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, linux-kernel@vger.kernel.org, yamada.masahiro@socionext.com Subject: Re: [PATCH v2 1/4] x86, build: Factor out fdimage/isoimage generation commands to standalone script Message-ID: <20171107102029.4zvhovgdguthyg6u@gmail.com> References: <1509939179-7556-1-git-send-email-changbin.du@intel.com> <1509939179-7556-2-git-send-email-changbin.du@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1509939179-7556-2-git-send-email-changbin.du@intel.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * changbin.du@intel.com wrote: > From: Changbin Du > > 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 a shell script is much more > easy than in a Makefile. > > See Ingo's suggestion here https://lkml.org/lkml/2017/10/31/124. > > This patch factors out the commands used for fdimage/isoimage generation > from arch/x86/boot/Makefile to a new script arch/x86/boot/genimage.sh. > Then it adds the new kbuild command 'genimage' which invokes the new script. > All fdimages/isoimage files are now generated by a call to 'genimage' with > different parameters. > > Now 'make isoimage' becomes: > ... > Kernel: arch/x86/boot/bzImage is ready (#30) > GENIMAGE arch/x86/boot/image.iso > Size of boot image is 4 sectors -> No emulation > 15.37% done, estimate finish Sun Nov 5 23:36:57 2017 > 30.68% done, estimate finish Sun Nov 5 23:36:57 2017 > 46.04% done, estimate finish Sun Nov 5 23:36:57 2017 > 61.35% done, estimate finish Sun Nov 5 23:36:57 2017 > 76.69% done, estimate finish Sun Nov 5 23:36:57 2017 > 92.00% done, estimate finish Sun Nov 5 23:36:57 2017 > Total translation table size: 2048 > Total rockridge attributes bytes: 659 > Total directory bytes: 0 > Path table size(bytes): 10 > Max brk space used 0 > 32608 extents written (63 MB) > Kernel: arch/x86/boot/image.iso is ready Could we please also do another patch, to make it emit only this by default: > GENIMAGE arch/x86/boot/image.iso None of the other messages really matter to the user. Maybe emit them when building with V=1 - but none of that info is really interesting IMHO. Thanks, Ingo From 1583435451776936957@xxx Tue Nov 07 19:08:42 +0000 2017 X-GM-THRID: 1583286557766901519 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread