2010-09-23 03:05:48     source in one place, output in another

Document created by Aaronwu Employee on Aug 23, 2013
Version 1Show Document
  • View in full screen mode

2010-09-23 03:05:48     source in one place, output in another

Filip Van Rillaer (BELGIUM)

Message: 93780   

 

Hello,

 

I am trying to compile uclinux and forcing the output (all generated files) to another directory but I am facing some problems.

 

svn co svn://firewall-sources.blackfin.uclinux.org:80/svn/uclinux-dist/trunk ./uclinux-dist-test

mkdir build537

cd uclinux-dist-test

make O=../build537 menuconfig

--> select BF537-STAMP

--> accept all default values

make O=../build537

 

The compilation fails:

../../configure: line 2575: sort: No such file or directory

../../configure: line 2572: sed: No such file or directory

The full compilation trace is in the attached file.  Please help.

 

I've tried also some variant:

make mrproper

make O=/home/fiva/build537 AnalogDevices/BF537-STAMP_defconfig

make O=/home/fiva/build537

but this also fails:

/home/fiva/usa/uclinux-dist-test/linux-2.6.x is not clean, please run 'make mrproper'

  in the '/home/fiva/usa/uclinux-dist-test/linux-2.6.x' directory.

make[2]: *** [prepare3] Error 1

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/home/fiva/usa/uclinux-dist-test/linux-2.6.x'

make: *** [linux] Error 1

 

 

BR,

Filip

 

error.txt

TranslateQuoteReplyEditDelete

 

 

2010-09-23 03:24:21     Re: source in one place, output in another

Mike Frysinger (UNITED STATES)

Message: 93795   

 

uClinux-dist itself does not really support out-of-tree building

 

the only way ive seen to kind of make it work is with the `lndir` program.  create an empty dir and use `lndir` to build a complete tree of symlinks to the original source.  then compile in that.

QuoteReplyEditDelete

 

 

2010-09-23 04:12:29     Re: source in one place, output in another

Filip Van Rillaer (BELGIUM)

Message: 93796   

 

Thank you Mike for your fast feedback.  Your proposed `lndir` is for the moment  (not an ideal but) an acceptable compromize. Let's hope that one day someone has spare time to implement out-of-tree building for uClinux-dist.

BR, Filip

Attachments

Outcomes