All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Add verbose of compilling
Date: Thu, 25 Feb 2010 10:17:22 +0100	[thread overview]
Message-ID: <87aaux7jz1.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <4B86362F.7020009@18r.ru> ("Дмитрий"'s message of "Thu, 25 Feb 2010 12:34:55 +0400")

>>>>> "???????" == ???????  <dima@18r.ru> writes:

Hi,

 ???????> Sorry for my English, if i have wrong commented my wish.
 ???????> export PS1="Now compilling: xorg-server, packets 10 of 100"
 ???????> it's an example. i want to see what packet is compilling now.
 ???????> want to information about building in terminal header.
 ???????> Thanks.

Ahh, that should be relatively easy to do - The "package X out of Y" is
hard as we use make and the individual targets don't know what else
needs to be be built, but the current step (package + part) could be
done using a slight tweak of the MESSAGE macro in
package/Makefile.package.in:

diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index fbd7f69..c40f83f 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -34,7 +34,7 @@ INFLATE.tgz = $(ZCAT)
 INFLATE.tar = cat
 
 # MESSAGE Macro -- display a message in bold type
-MESSAGE = echo "$(TERM_BOLD)>>> $($(PKG)_NAME) $($(PKG)_VERSION) $(1)$(TERM_RES
+MESSAGE = echo -e "\033]0;$($(PKG)_NAME) $($(PKG)_VERSION) $(1)\007"
 TERM_BOLD := $(shell tput smso)
 TERM_RESET := $(shell tput rmso)
 

This only works for new-style packages (and not the toolchain build) though.

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2010-02-25  9:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  7:32 [Buildroot] Add verbose of compilling Дмитрий
2010-02-25  8:16 ` Peter Korsgaard
     [not found]   ` <4B86362F.7020009@18r.ru>
2010-02-25  9:17     ` Peter Korsgaard [this message]
     [not found]       ` <4B864795.80607@18r.ru>
2010-02-25  9:59         ` Peter Korsgaard
     [not found]           ` <4B864C12.8020305@18r.ru>
2010-02-25 10:23             ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aaux7jz1.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.