summaryrefslogtreecommitdiffstats
path: root/package/openocd/0002-configure-enable-build-on-uclinux.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-08-17 06:37:39 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-17 09:55:03 +0200
commite5e4d4710ee0c20510e1976b8f30df2272e4dbe7 (patch)
treebaf3e755239f39caaee1952c6b2d8a7f5a230258 /package/openocd/0002-configure-enable-build-on-uclinux.patch
parenteb7e07702c2f9d7c97a8ac31009ce3e56f4bd577 (diff)
downloadbuildroot-e5e4d4710ee0c20510e1976b8f30df2272e4dbe7.tar.gz
buildroot-e5e4d4710ee0c20510e1976b8f30df2272e4dbe7.zip
package/openocd: fix uclinux build
Fixes http://autobuild.buildroot.net/results/cd3/cd3f5b7329f45c2b75ed319caef3c6aa0e94ee2e/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openocd/0002-configure-enable-build-on-uclinux.patch')
-rw-r--r--package/openocd/0002-configure-enable-build-on-uclinux.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/openocd/0002-configure-enable-build-on-uclinux.patch b/package/openocd/0002-configure-enable-build-on-uclinux.patch
new file mode 100644
index 0000000000..2f2d320840
--- /dev/null
+++ b/package/openocd/0002-configure-enable-build-on-uclinux.patch
@@ -0,0 +1,26 @@
+From 11ea78c4d253bb90296e2dd8c3f7fbf59ba397b6 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Thu, 17 Aug 2017 06:30:31 +0200
+Subject: [PATCH] configure: enable build on uclinux
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index c680bda7..1a7980a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -327,7 +327,7 @@ AC_ARG_ENABLE([sysfsgpio],
+ [build_sysfsgpio=$enableval], [build_sysfsgpio=no])
+
+ AS_CASE([$host_os],
+- [linux*], [],
++ [linux*|uclinux*], [],
+ [
+ AS_IF([test "x$build_sysfsgpio" = "xyes"], [
+ AC_MSG_ERROR([sysfsgpio is only available on linux])
+--
+2.11.0
+
OpenPOWER on IntegriCloud