Feature #214
closed
Try to cross compile RPi test apps at end of rootfs build
Added by Hammel over 11 years ago.
Updated almost 11 years ago.
Category:
04 - Root File System
Description
The test apps are in <buildroot>/output/target/opt/vc/src/hello_pi. They would be useful in testing various components of the platform.
I think to cross compile I need
- set the path to point to the cross compile tools
- set CC to point to compiler
- set SDKSTAGE to point to target tree
- set LDFLAGS to -L<staging tree>
Something like that.
- Priority changed from Urgent to High
- Severity changed from 03 - Medium to 04 - Low
- Target version changed from 1.0 - Atreides to 0.8.0
- Severity changed from 04 - Low to 02 - High
Adding this to the 0.8 release since it seems like it should just be a new sub-target for buildroot.
- Status changed from New to Closed
- % Done changed from 0 to 100
Added buildroot-rpitools target to build the tools after the rootfs is built. But this means the compiled tools are not in the tar file generated by buildroot. To get around that the tools are copied manually into the ext3 file generated by the -ext3 target. So it's a little bit of a hack, but its better than making an opkg for them.
Note: hello-font was not built due to problems with cross compiling it. The rest of the tools cross compiled fine.
Also available in: Atom
PDF