From 25a12a30c7038e85187aa12baa2807c716dc8293 Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Mon, 22 Jan 2018 12:59:16 +0300 Subject: sandbox: avoid symbol conflict for {open,read,close}dir This fixes libusb's /dev/bus/usb directory scan. Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- arch/sandbox/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arch/sandbox/Makefile') 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)) -- cgit v1.2.3