[PATCH] Add Blackfin arch to build system

Alex Landau landau_alex at yahoo.com
Sun Jun 17 12:35:20 UTC 2007


Hi All,

Blackfin (and other no-MMU's too, I guess) use the bFLT file format instead of (or in
addition to) ELF, and therefore requires special LDFLAGS and not stripping.
The attached patch does exactly that. It adds a blackfin/ directory under arch/ with a
Makefile handling these details.

Builds of busybox with "make" won't be affected, those with "make ARCH=blackfin
CROSS_COMPILE=bfin-uclinux-" will.

Alex

P.S. There is currently a call to elf2flt in the regular build system. It does not work
(again, at least for Blackfin) since elf2flt is not a converter that takes an ELF and
produces an FLT, but is instead invoked internally by a linker wrapper script on an
intermediate ELF with relocations.


       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfin-arch.patch
Type: text/x-patch
Size: 492 bytes
Desc: 1526732251-bfin-arch.patch
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070617/4ed5e6f8/attachment-0002.bin 


More information about the busybox mailing list