public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] Problems with cross-compiling
@ 2014-04-14 17:22 Mats Liljegren
  2014-04-14 17:41 ` chrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Mats Liljegren @ 2014-04-14 17:22 UTC (permalink / raw)
  To: ltp-list

I've been using Yocto, which does cross-compiling. It has support for
compiling LTP, but I've noticed it has a couple of patches. I found
that one patch was needed for actually compile LTP, which applies to
the file utils/Makefile.

The patch is for an older version of LTP, but I re-implemented it for
the new version. Looking at the following rule:

$(FFSB): $(abs_srcdir)/$(FFSBDIR)
        mkdir -p $(FFSBDIR)
        cd $(FFSBDIR) && "$^/configure" && $(MAKE) top_srcdir="$^" all

This calls configure without parameters, which is most likely wrong for
a cross-compile environment. It is this configure that fails. By simple
removing it, everything works within Yocto.

Is there any reason for keeping this configure here? Or should I make
a patch for removing it?

Regards
Mats Liljegren

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2014-04-15 11:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-14 17:22 [LTP] Problems with cross-compiling Mats Liljegren
2014-04-14 17:41 ` chrubis
2014-04-15  8:31   ` [LTP] [PATCH] utils/Makefile: Move ffsb configure to configure.ac Mats Liljegren
2014-04-15  8:31     ` Mats Liljegren
2014-04-15 11:10       ` chrubis

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