[PATCH 2/2] sandbox: avoid symbol conflict for fstat
Jan Luebbe
jlu at pengutronix.de
Thu Nov 6 05:20:28 PST 2014
Recently, a fstat function was added to barebox. Redefine it as usual
to avoid problems for the sandbox. This fixes loading files into the
sandbox.
Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
---
arch/sandbox/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 596c8f8309f0..ed5d3a3dab2f 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -20,7 +20,7 @@ CFLAGS += -Dmalloc=barebox_malloc -Dcalloc=barebox_calloc \
-Dfputs=barebox_fputs -Dsetenv=barebox_setenv \
-Dgetenv=barebox_getenv -Dprintf=barebox_printf \
-Dglob=barebox_glob -Dglobfree=barebox_globfree \
- -Dioctl=barebox_ioctl
+ -Dioctl=barebox_ioctl -Dfstat=barebox_fstat
machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y))
--
2.1.1
More information about the barebox
mailing list