From 0ae26a7ea459d239868b595a26873be7f50f0551 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Thu, 6 Nov 2014 14:20:28 +0100 Subject: sandbox: avoid symbol conflict for fstat 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 Signed-off-by: Sascha Hauer --- arch/sandbox/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 596c8f8309..ed5d3a3dab 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)) -- cgit v1.2.3