[ELDK] fyi: install.sh FreeBSD

Jeroen Hofstee jeroen at myspectrum.nl
Mon Aug 15 01:17:12 CEST 2011


Since I decided to get rid of Ubuntu, I only have win7/FreeBSD left on 
my home laptop at the moment. This make me hit a few problems most of 
you will never see.

One of them in ftp://ftp.denx.de/pub/eldk/5.0/install.sh with mktemp 
(FreeBSD does not have --tmpdir), but I couldn't find a cms entry for 
it. I checked a Debian setup for mktemp and seems to do the same with 
full template arg. I have not checked the actual install script though.

<     tmp_dir=$(mktemp -d --tmpdir=${dest_path} eldk_install.XXXXX)
 >     tmp_dir=$(mktemp -d ${dest_path}/eldk_install.XXXXX)

After install I can successfully compile the linux kernel with elkd-5.0 
on FreeBSD. I haven't checked the openembedded things yet though, nor 
provided scripts.

For completeness:
-     Since the generic general in FreeBSD is build for all 386+ uname 
-m will report i386.
       Hacking in the uname -m switch like i386) cur_arch=i686 ;; (well 
if it is a i686, does it)
       not aware of an OS independ way to check the actual processor type.
-     ELDK-5.0 more then likely needs Linux emulation on FreeBSD.

please check if applying,

Jeroen Hofstee

More information about the eldk mailing list