* [Buildroot] [PATCH 1/2] package/openocd: fix uclinux build
@ 2017-08-17 4:37 Bernd Kuhls
2017-08-17 4:37 ` [Buildroot] [PATCH 2/2] package/openocd: add license infos Bernd Kuhls
2017-08-17 7:56 ` [Buildroot] [PATCH 1/2] package/openocd: fix uclinux build Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2017-08-17 4:37 UTC (permalink / raw)
To: buildroot
Fixes
http://autobuild.buildroot.net/results/cd3/cd3f5b7329f45c2b75ed319caef3c6aa0e94ee2e/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
.../0002-configure-enable-build-on-uclinux.patch | 26 ++++++++++++++++++++++
package/openocd/openocd.mk | 3 ++-
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 package/openocd/0002-configure-enable-build-on-uclinux.patch
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 000000000..714d875d4
--- /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 1/1] 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
+
diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk
index 96f667b73..986812193 100644
--- a/package/openocd/openocd.mk
+++ b/package/openocd/openocd.mk
@@ -7,7 +7,8 @@
OPENOCD_VERSION = 0.10.0
OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2
OPENOCD_SITE = http://sourceforge.net/projects/openocd/files/openocd/$(OPENOCD_VERSION)
-
+# 0002-configure-enable-build-on-uclinux.patch patches configure.ac
+OPENOCD_AUTORECONF = YES
OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
OPENOCD_CONF_OPTS = \
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/openocd: add license infos
2017-08-17 4:37 [Buildroot] [PATCH 1/2] package/openocd: fix uclinux build Bernd Kuhls
@ 2017-08-17 4:37 ` Bernd Kuhls
2017-08-17 7:56 ` [Buildroot] [PATCH 1/2] package/openocd: fix uclinux build Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2017-08-17 4:37 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/openocd/openocd.hash | 1 +
package/openocd/openocd.mk | 2 ++
2 files changed, 3 insertions(+)
diff --git a/package/openocd/openocd.hash b/package/openocd/openocd.hash
index b36c81668..3fb817b4a 100644
--- a/package/openocd/openocd.hash
+++ b/package/openocd/openocd.hash
@@ -1,3 +1,4 @@
# From http://sourceforge.net/projects/openocd/files/openocd/0.10.0/
sha1 3245d43d60a1a93f8b0f6b1ce20b53e38cab7a4a openocd-0.10.0.tar.bz2
md5 b412bdef0481a3859c6585eb69f6f6ba openocd-0.10.0.tar.bz2
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk
index 986812193..9d2576cee 100644
--- a/package/openocd/openocd.mk
+++ b/package/openocd/openocd.mk
@@ -7,6 +7,8 @@
OPENOCD_VERSION = 0.10.0
OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2
OPENOCD_SITE = http://sourceforge.net/projects/openocd/files/openocd/$(OPENOCD_VERSION)
+OPENOCD_LICENSE = GPL-2.0+
+OPENOCD_LICENSE_FILES = COPYING
# 0002-configure-enable-build-on-uclinux.patch patches configure.ac
OPENOCD_AUTORECONF = YES
OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/openocd: fix uclinux build
2017-08-17 4:37 [Buildroot] [PATCH 1/2] package/openocd: fix uclinux build Bernd Kuhls
2017-08-17 4:37 ` [Buildroot] [PATCH 2/2] package/openocd: add license infos Bernd Kuhls
@ 2017-08-17 7:56 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-08-17 7:56 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 17 Aug 2017 06:37:39 +0200, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/cd3/cd3f5b7329f45c2b75ed319caef3c6aa0e94ee2e/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> .../0002-configure-enable-build-on-uclinux.patch | 26 ++++++++++++++++++++++
> package/openocd/openocd.mk | 3 ++-
> 2 files changed, 28 insertions(+), 1 deletion(-)
> create mode 100644 package/openocd/0002-configure-enable-build-on-uclinux.patch
Both applied, thanks. Please remember to use "git format-patch -N" when
generating patches. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-08-17 7:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 4:37 [Buildroot] [PATCH 1/2] package/openocd: fix uclinux build Bernd Kuhls
2017-08-17 4:37 ` [Buildroot] [PATCH 2/2] package/openocd: add license infos Bernd Kuhls
2017-08-17 7:56 ` [Buildroot] [PATCH 1/2] package/openocd: fix uclinux build Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox