summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/Makefile
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2018-01-22 12:59:16 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-29 08:26:46 +0100
commit25a12a30c7038e85187aa12baa2807c716dc8293 (patch)
treec484303ed3c65459fb708080c01b9225b87fa666 /arch/sandbox/Makefile
parentb024f6f4d773f8377acddbf594f891f2f863a963 (diff)
downloadbarebox-25a12a30c7038e85187aa12baa2807c716dc8293.tar.gz
barebox-25a12a30c7038e85187aa12baa2807c716dc8293.tar.xz
sandbox: avoid symbol conflict for {open,read,close}dir
This fixes libusb's /dev/bus/usb directory scan. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/Makefile')
-rw-r--r--arch/sandbox/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 8155a790eb..9d545c3b71 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -21,7 +21,9 @@ 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 -Dfstat=barebox_fstat
+ -Dioctl=barebox_ioctl -Dfstat=barebox_fstat \
+ -Dopendir=barebox_opendir -Dreaddir=barebox_readdir \
+ -Dclosedir=barebox_closedir
machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y))