+1 - I would like also to know the answer to this question.
What I have done so far is to create a file ~/.profile
that contains the line:
It is probably not the cleanest way to go, but at least gets me up and running.
If you can manage to get dmidecode onto the Edison, you can do
# dmidecode | grep Product
Product Name: BODEGA BAY
Product Name: Merrifield
I'm not sure how many products will return those strings, but I'd bet that "BODEGA BAY" is pretty unique to Edisons (from the list of machines you list in your original post)
1 of 1 people found this helpful
Add to the file /home/root/.profile a line like this "export OSTYPE=Edison_Yocto", add to the makefile a checking on OSTYPE for Edison_Yocto and set the toolchain.