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:
parent
34828e0077
commit
0ae26a7ea4
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue