Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] buildroot directive for acyion after configuring
Date: Tue, 15 Mar 2011 11:13:15 +0100	[thread overview]
Message-ID: <20110315111315.5d5a48f5@surf> (raw)
In-Reply-To: <AANLkTi=iLXet_5auTP_mp1KzsY9wr=FOQVRNVZk+Q0dg@mail.gmail.com>

On Tue, 15 Mar 2011 02:55:20 -0700
bao bui <buiqbao@gmail.com> wrote:

> I am cross compiling ghost script. Before the configure process, I
> can apply my patch by adding the POST_EXTRACT_HOOKS directive as
> following
> 
> define ESPGS_PATCH_CROSS_COMPILE
>     toolchain/patch-kernel.sh $(ESPGS_DIR) package/espgs/ \*.patch
> endef
> 
> ESPGS_POST_EXTRACT_HOOKS += ESPGS_PATCH_CROSS_COMPILE

You don't need to do that, the package infrastructure already applies
the patches named <pkg>-*.patch from the packages/<pkg>/ directory.

> But after configuring, I want to modify the Makefile which is just
> generated. What directive can I add to the .mk file

You can add a post-configure hook, exactly like the post-extract hook
you used.

> PS: I can not modify the configure and the Makefile.in in this case

Why ?

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2011-03-15 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15  9:55 [Buildroot] buildroot directive for acyion after configuring bao bui
2011-03-15 10:13 ` Thomas Petazzoni [this message]
2011-03-15 11:06   ` bao bui
2011-03-15 22:53     ` Thomas Petazzoni

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=20110315111315.5d5a48f5@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox