mtd-utils: fec.c uses bcopy()
mjd-linux-mtd at afork.com
Tue Oct 7 20:27:39 EDT 2008
I use buildroot to build my embedded Linux. My run-time library is
uClibc, which doesn't provide bcopy().
fec.c in mtd-utils uses bcopy(), so mtd-utils doesn't compile for me.
I'd like to fix this.
- Should I rewrite fec.c so it uses memcpy instead?
- Should I just add #define NEED_BCOPY to fec.c?
- Should I leave fec.c unchanged and add -DNEED_BCOPY to the Makefile
(which would be passed to every compile?)
Which solution would you guys accept?
More information about the linux-mtd