Since it was mentioned that running the makefile supplied with buildroot takes rather a long time, I killed the latest version in its tracks, and set about downloading the version corresponding to the Gumstix system's version - I figure that, to begin anyway, I might as well try and use the given version and only upgrade if it's needed.
This package seems to have not downloaded properly, probably due to me not cleaning out the folder of half-built files before running the new makefile, so I cleared out everything and started afresh.
Keeping with the buildroot wiki, I did the following in order:
Step 0:
svn co -r 1161 http://svn.gumstix.com/gumstix-buildroot/trunk gumstix-buildroot
1161 being the buildroot version currently on the Gumstix. Then it was just a case of running the makefile.
Step 1:
cd gumstix-buildroot
make defconfig
make
Since I'm not planning on replacing the file system - not yet anyway - I went straight to the programming wiki page, and whipped up a c "hello world" to cross-compile. I copied this sample makefile, which seems a bit confusing and will need some deciphering, and compiled my program. A small scp later, and our Gumstix system was greeting the world.
No comments:
Post a Comment