From: David P. <pe...@sk...> - 2010-10-27 11:43:41
|
Hi all, When you "make install" the makefile runs IDCheck.sh. For cross-compiled targets this is only valid if you're installing directly to the actual filesystem which will be used on the embedded target. Would it be worth forcing SKIP_IDCHECK=1if in a cross-compile environment? Configure deduces this from whether "build_alias" !"= "host_alias". I suspect this ought to be a run-time test - especially given that I missed this on my first run and had lots of errors as a result which wasn't clear :-D Is there any kind of validation for system build (or kernel config!) prerequisites before running tests? Would be sensible to do this before running tests rather than running them and failing as a result (also relevent in the case of memory-constrained tests that fail on embedded targets) Side-note : I suspect there may be a cross-compile related error in configure in "ltp-full-20100831". I've never dug deeply into configure scripts but this looks inverted based on other similar parts of configure : if test x$cross_compiling = xyes; then CROSS_COMPILATION_TRUE= CROSS_COMPILATION_FALSE='#' else CROSS_COMPILATION_TRUE='#' CROSS_COMPILATION_FALSE= fi Cheers, ~Pev |