Do you need to build it on your image or can you download it after it has already been built? Because you can download it from the IoT repo as an .ipk and simply install it. It can be easily done with the following commands:
echo src iotkit http://iotdk.intel.com/repos/2.0/intelgalactic > /etc/opkg/iotkit.conf opkg update opkg install mraa
This will install version 0.9.0 of mraa (which is the latest version as of today). Does this help you?
I need to make a image which's used for Mass-Production，so it's almost impossible for us to upgrade the mraa one by one. And we perhaps use the edison without internet after flashing image.
1 of 1 people found this helpful
I have solved the problem in a unofficial way:
1) put mraa_0.9.0_i586.ipk into edison image
2) add the following code in my our application
system("opkg remove libmraa0 --force-depends");
system("opkg install /etc/opkg/mraa_0.9.0_i586.ipk");
3) flashing the image which contains the mraa_0.9.0_i586.ipk
this method does work till now.
Any one has any other idea, please tell me!
Thank you very much！