* [Buildroot] buildroot directive for acyion after configuring
@ 2011-03-15 9:55 bao bui
2011-03-15 10:13 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: bao bui @ 2011-03-15 9:55 UTC (permalink / raw)
To: buildroot
Hi all,
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
But after configuring, I want to modify the Makefile which is just
generated. What directive can I add to the .mk file
PS: I can not modify the configure and the Makefile.in in this case
Many thanks
BAO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110315/ff1b331a/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] buildroot directive for acyion after configuring
2011-03-15 9:55 [Buildroot] buildroot directive for acyion after configuring bao bui
@ 2011-03-15 10:13 ` Thomas Petazzoni
2011-03-15 11:06 ` bao bui
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2011-03-15 10:13 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] buildroot directive for acyion after configuring
2011-03-15 10:13 ` Thomas Petazzoni
@ 2011-03-15 11:06 ` bao bui
2011-03-15 22:53 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: bao bui @ 2011-03-15 11:06 UTC (permalink / raw)
To: buildroot
Thank Thomas,
After configuring, the Makefile has the EXTRALIBS variable as following
EXTRALIBS= -lcupsimage -lcups -ltiff -ljpeg -lpng -Wl,-Bsymbolic-functions
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lz -lpthread -lm
-lcrypt -ldl -lm -lstdc++ -lfontconfig
I don't have libgssapi_krb5 libkrb5 libk5crypto libcom_err in buildroot
library. I don't know where these option come from, maybe the configure
script probes the host system.
When I try this function in espgs-8.15.4 folder:
grep -r "gssapi" ./
I got nothing. So I don't know how to fix it axcept modify the Makefile
after configuring.
Do you have any idea about this?
Thank you
BAO
On Tue, Mar 15, 2011 at 3:13 AM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:
> 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110315/33c5d9ae/attachment-0001.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] buildroot directive for acyion after configuring
2011-03-15 11:06 ` bao bui
@ 2011-03-15 22:53 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2011-03-15 22:53 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 15 Mar 2011 04:06:34 -0700
bao bui <buiqbao@gmail.com> wrote:
> After configuring, the Makefile has the EXTRALIBS variable as
> following
>
> EXTRALIBS= -lcupsimage -lcups -ltiff -ljpeg -lpng
> -Wl,-Bsymbolic-functions -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
> -lssl -lcrypto -lz -lpthread -lm -lcrypt -ldl -lm -lstdc++
> -lfontconfig
>
> I don't have libgssapi_krb5 libkrb5 libk5crypto libcom_err in
> buildroot library. I don't know where these option come from, maybe
> the configure script probes the host system.
Then it should be fixed by passing the appropriate values
to ./configure.
> I got nothing. So I don't know how to fix it axcept modify the
> Makefile after configuring.
> Do you have any idea about this?
Please post the full build log, and all files named "config.log" inside
output/build/espgs-8.15.4/ and its subdirectories.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-15 22:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15 9:55 [Buildroot] buildroot directive for acyion after configuring bao bui
2011-03-15 10:13 ` Thomas Petazzoni
2011-03-15 11:06 ` bao bui
2011-03-15 22:53 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox