Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Makefile: add check of binaries architecture
@ 2017-05-30 21:35 Ricardo Herrero
  2017-05-30 21:44 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Herrero @ 2017-05-30 21:35 UTC (permalink / raw)
  To: buildroot

Hello,

 I have been compiling some packages both ARM and linux-x86_64 archs
together until I have tested with Buildroot 2017.05_rc2. It adds a check
for proper binaries during build stage. But I need to build both archs. So
I need to know if there is a way to bypass this check or if I can do
something else. My problem is that I need a package to compile both x86_64
and arm in order to compile another package  both in x86_64. So I cannot
remove x86_64 folders right after build, I need all of them until install
phase. I have seen this, but I don?t know how to avoid
GLOBAL_INSTRUMENTATION_HOOKS (http://patchwork.ozlabs.org/patch/737884/)

Thanks for your help.
Ricardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170530/8910616b/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Makefile: add check of binaries architecture
  2017-05-30 21:35 [Buildroot] Makefile: add check of binaries architecture Ricardo Herrero
@ 2017-05-30 21:44 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-05-30 21:44 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 30 May 2017 23:35:35 +0200, Ricardo Herrero wrote:

>  I have been compiling some packages both ARM and linux-x86_64 archs
> together until I have tested with Buildroot 2017.05_rc2. It adds a check
> for proper binaries during build stage. But I need to build both archs. So
> I need to know if there is a way to bypass this check or if I can do
> something else. My problem is that I need a package to compile both x86_64
> and arm in order to compile another package  both in x86_64. So I cannot
> remove x86_64 folders right after build, I need all of them until install
> phase.

Can you explain your use case in more detail? I don't understand why
you are mixing ARM and x86-64 binaries in the target folder. So before
proposing a solution to workaround the architecture check, I'd like to
make sure that there isn't a deeper problem in the approach you're
using to build those packages.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-30 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-30 21:35 [Buildroot] Makefile: add check of binaries architecture Ricardo Herrero
2017-05-30 21:44 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox