From patchwork Mon May 12 14:19:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 348038 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 0CAB8140084 for ; Tue, 13 May 2014 00:21:48 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AE155896D9; Mon, 12 May 2014 14:21:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tf0RE8IYnPpl; Mon, 12 May 2014 14:21:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 376A48B1C9; Mon, 12 May 2014 14:21:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A9F0A1C20F8 for ; Mon, 12 May 2014 14:21:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A622C87C33 for ; Mon, 12 May 2014 14:21:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ptMkjOCq7FBM for ; Mon, 12 May 2014 14:21:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by hemlock.osuosl.org (Postfix) with ESMTPS id 000D687C2A for ; Mon, 12 May 2014 14:21:45 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id bs8so4573412wib.12 for ; Mon, 12 May 2014 07:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:subject :message-id:user-agent:date:from:to; bh=BLQF4NhQV4F8s/6SaG6ZBSGneWUcN+gdG8ch68PRnDY=; b=tA2uZPDY5CqjCpHuL9pYg09vmmrAqQcJ9/TVVUaxw0nr2OFvQOtCp12zFP5w05RXCp ImZe0ZxxT8zupBGHe6HRZNRxHBhcO0ySMpplCbnB8J1SeIawhFgKDRicnQcPfluo4VyV fwiEARsNygkZbPcu0B5j1SMAeGmZl5sR66DwY7IKBFKTHxrrfysUDDl+D+T5/7GUsS3J bvb2KWFxconmZP493msUQcSD77ta7PgdHTl0wWTL0Y/pdXb9dEyL6Fbr7iY5MGxRDNto acNU03H/8JkcbNI7532Zq7QMawK+DVnrCcIilDsaTId9pbalDa5cUyMEhPbK+qmL5mfD fsNA== X-Received: by 10.194.9.8 with SMTP id v8mr2476571wja.53.1399904504501; Mon, 12 May 2014 07:21:44 -0700 (PDT) Received: from [127.0.1.1] (alc112.alcatel.be. [195.207.101.112]) by mx.google.com with ESMTPSA id rw4sm18118119wjb.44.2014.05.12.07.21.43 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 07:21:43 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: 3230f72b2606158b25756758b5f039037170e338 Message-Id: <3230f72b2606158b2575.1399904367@argentina> User-Agent: Mercurial-patchbomb/2.2.2 Date: Mon, 12 May 2014 16:19:27 +0200 From: Thomas De Schampheleire To: buildroot@buildroot.org Subject: [Buildroot] [PATCH] build log: add message when starting target-finalize target X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The target-finalize target does a large number of actions (removing unnecessary files, stripping objects, etc.) but does not have a header. This makes it seem that all these actions are done as part of the last action before target-finalize, for example: >>> makedevs undefined Installing to target To make a clear distinction, add a message to the beginning of target-finalize: >>> Finalizing target directory Signed-off-by: Thomas De Schampheleire Acked-by: Arnout Vandecappelle (Essensium/Mind) --- Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Note: in system/system.mk there are a number of smaller items that are executed before target-finalize but do not have any message associated with them. This includes the adding to securetty, the setting of issue and hostname, ... Adding a message to each of these small targets is probably too much, but if we could find an elegant way to add a message to the group of system/system.mk, that would be nice. Adding an initial target in system/system.mk just printing a message would work, but only if there is no top-level parallel build. diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -533,6 +533,7 @@ endif $(TARGETS_ROOTFS): target-finalize target-finalize: $(TARGETS) + @$(call MESSAGE,"Finalizing target directory") $(TARGET_PURGE_LOCALES) rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \ $(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \