xref: /OK3568_Linux_fs/buildroot/package/openocd/0001-configure-enable-build-on-uclinux.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 11ea78c4d253bb90296e2dd8c3f7fbf59ba397b6 Mon Sep 17 00:00:00 2001
2From: Bernd Kuhls <bernd.kuhls@t-online.de>
3Date: Thu, 17 Aug 2017 06:30:31 +0200
4Subject: [PATCH] configure: enable build on uclinux
5
6Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
7---
8 configure.ac | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/configure.ac b/configure.ac
12index c680bda7..1a7980a0 100644
13--- a/configure.ac
14+++ b/configure.ac
15@@ -327,7 +327,7 @@ AC_ARG_ENABLE([sysfsgpio],
16   [build_sysfsgpio=$enableval], [build_sysfsgpio=no])
17
18 AS_CASE([$host_os],
19-  [linux*], [],
20+  [linux*|uclinux*], [],
21   [
22     AS_IF([test "x$build_sysfsgpio" = "xyes"], [
23       AC_MSG_ERROR([sysfsgpio is only available on linux])
24--
252.11.0
26
27