--- Mike Frysinger <[EMAIL PROTECTED]> wrote: > On Monday 18 June 2007, Alex Landau wrote: > > --- Mike Frysinger <[EMAIL PROTECTED]> wrote: > > > On Sunday 17 June 2007, Alex Landau wrote: > > > > 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. > > > > > > erm, no, we dont want this. Blackfin, unlike [almost] every no-MMU arch > > > out there, also supports FDPIC ELF via the bfin-linux-uclibc toolchain. > > > > ... which I haven't found in the release section of blackfin.uclinux.org > > for release 2007r1. Maybe I haven't looked well enough, though. > > it's part of the default release ... the main package includes both > bfin-uclinux and bfin-linux-uclibc
Right, I overlooked it... > > > Anyway, since Blackfin supports bFLT, and almost all docs guide you how to > > compile ones apps into bFLT, I don't see a reason to force people to use > > FDPIC ELFs (which are also bigger in size, and don't support compression > > IIRC). If a simple make worked by producing ELFs, it will continue to do so > > with the patch too, but those who want bFLT will be satisfied too. > > Alternatively, there are other solutions, like "make ARCH=blackfin" and > > "make ARCH=blackfin-flt", or "make ARCH=blackfin" and "make ARCH=blackfin > > FORMAT=flt"... > > i'm not forcing anything ... the current system works for both > > FDPIC ELF: > make CROSS_COMPILE=bfin-linux-uclibc- > FLAT: > LDFLAGS=-Wl,-elf2flt make CROSS_COMPILE=bfin-uclinux- > -mike > It's as simple as it could be. Why haven't I thought of that? :-) Alex ____________________________________________________________________________________ Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. http://new.toolbar.yahoo.com/toolbar/features/mail/index.php _______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox