diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2014-11-06 14:20:28 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-07 08:01:28 +0100 |
commit | 0ae26a7ea459d239868b595a26873be7f50f0551 (patch) | |
tree | 5c54367609d691f39bf89f8901082576877fe322 /arch/sandbox | |
parent | 34828e007709d12b61eb545252db205ef328caf5 (diff) | |
download | barebox-0ae26a7ea459d239868b595a26873be7f50f0551.tar.gz barebox-0ae26a7ea459d239868b595a26873be7f50f0551.tar.xz |
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>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |