summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2014-11-06 14:20:28 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-07 08:01:28 +0100
commit0ae26a7ea459d239868b595a26873be7f50f0551 (patch)
tree5c54367609d691f39bf89f8901082576877fe322
parent34828e007709d12b61eb545252db205ef328caf5 (diff)
downloadbarebox-0ae26a7ea459d239868b595a26873be7f50f0551.tar.gz
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>
-rw-r--r--arch/sandbox/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 596c8f8..ed5d3a3 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))