[rfc] tweak FLAT handling

Mike Frysinger vapier at gentoo.org
Mon Jun 18 07:47:26 UTC 2007


the current bflt target in busybox was a straight copy from upstream 
uClinux-dist, but it has never worked for Blackfin.  might i propose that if 
someone wants a FLAT, they add -Wl,-elf2flt to their LDFLAGS rather than 
doing `make busybox.bflt` ... this should work for everyone as the backend 
details (how to actually turn an ELF into a FLAT) will be hidden from busybox 
as it should.  which leads me to the attached patch.  the other idea i had 
was perhaps introducing like a SKIP_STRIP var and keying off of that so the 
LDFLAGS check could be moved to the proper Makefile.flags location ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070618/beb5042f/attachment-0002.pgp 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-elf2flt.patch
Type: text/x-diff
Size: 1083 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070618/beb5042f/attachment-0002.bin 


More information about the busybox mailing list