[Buildroot] buildroot directive for acyion after configuring

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 15 10:13:15 UTC 2011

On Tue, 15 Mar 2011 02:55:20 -0700
bao bui <buiqbao at 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
>     toolchain/patch-kernel.sh $(ESPGS_DIR) package/espgs/ \*.patch
> endef

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 ?


Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list