9
0
Fork 0

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 <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jan Luebbe 2014-11-06 14:20:28 +01:00 committed by Sascha Hauer
parent 34828e0077
commit 0ae26a7ea4
1 changed files with 1 additions and 1 deletions

View File

@ -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))