From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdtlm-0001Ed-Qj for barebox@lists.infradead.org; Wed, 15 Feb 2017 07:12:56 +0000 Received: by mail-lf0-x241.google.com with SMTP id h65so12637822lfi.3 for ; Tue, 14 Feb 2017 23:12:34 -0800 (PST) From: Antony Pavlov Date: Wed, 15 Feb 2017 10:12:26 +0300 Message-Id: <20170215071227.31183-2-antonynpavlov@gmail.com> In-Reply-To: <20170215071227.31183-1-antonynpavlov@gmail.com> References: <20170215071227.31183-1-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [RFC 1/2] sandbox: avoid symbol conflict for {open,read,close}dir To: barebox@lists.infradead.org This fixes libusb's /dev/bus/usb directory scan. Signed-off-by: Antony Pavlov --- arch/sandbox/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 8155a790e..9d545c3b7 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)) -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox