mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libgpiod: version bump 0.3.1 -> 0.3.2
@ 2017-11-07 18:05 Clemens Gruber
  2017-11-07 18:05 ` [ptxdist] [PATCH 1/2] u-boot-tools: version bump 2017.07 -> 2017.09 Clemens Gruber
  2017-11-07 18:05 ` [ptxdist] [PATCH 2/2] u-boot-tools: add patch to avoid using systemwide libfdt Clemens Gruber
  0 siblings, 2 replies; 3+ messages in thread
From: Clemens Gruber @ 2017-11-07 18:05 UTC (permalink / raw)
  To: ptxdist; +Cc: Clemens Gruber

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/libgpiod.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/libgpiod.make b/rules/libgpiod.make
index edba8cb28..8593f0e39 100644
--- a/rules/libgpiod.make
+++ b/rules/libgpiod.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_LIBGPIOD) += libgpiod
 #
 # Paths and names
 #
-LIBGPIOD_VERSION	:= 0.3.1
-LIBGPIOD_MD5		:= c2ddf21b2fd793510e24134694c3d888
+LIBGPIOD_VERSION	:= 0.3.2
+LIBGPIOD_MD5		:= a9ce49fd5c15b1f20bac4e0670e41302
 LIBGPIOD		:= libgpiod-$(LIBGPIOD_VERSION)
 LIBGPIOD_SUFFIX		:= tar.gz
 LIBGPIOD_URL		:= https://www.kernel.org/pub/software/libs/libgpiod/$(LIBGPIOD).$(LIBGPIOD_SUFFIX)
-- 
2.15.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ptxdist] [PATCH 1/2] u-boot-tools: version bump 2017.07 -> 2017.09
  2017-11-07 18:05 [ptxdist] [PATCH] libgpiod: version bump 0.3.1 -> 0.3.2 Clemens Gruber
@ 2017-11-07 18:05 ` Clemens Gruber
  2017-11-07 18:05 ` [ptxdist] [PATCH 2/2] u-boot-tools: add patch to avoid using systemwide libfdt Clemens Gruber
  1 sibling, 0 replies; 3+ messages in thread
From: Clemens Gruber @ 2017-11-07 18:05 UTC (permalink / raw)
  To: ptxdist; +Cc: Clemens Gruber

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/u-boot-tools.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index e341c6d04..b5d6fdb5c 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_U_BOOT_TOOLS) += u-boot-tools
 #
 # Paths and names
 #
-U_BOOT_TOOLS_VERSION	:= 2017.07
-U_BOOT_TOOLS_MD5	:= b74741e7a9ad1cf9a5bfa87302b80f2b
+U_BOOT_TOOLS_VERSION	:= 2017.09
+U_BOOT_TOOLS_MD5	:= 9f7eb7db4530996a28e86f38f3b3e66f
 U_BOOT_TOOLS		:= u-boot-$(U_BOOT_TOOLS_VERSION)
 U_BOOT_TOOLS_SUFFIX	:= tar.bz2
 U_BOOT_TOOLS_URL	:= ftp://ftp.denx.de/pub/u-boot/$(U_BOOT_TOOLS).$(U_BOOT_TOOLS_SUFFIX)
-- 
2.15.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ptxdist] [PATCH 2/2] u-boot-tools: add patch to avoid using systemwide libfdt
  2017-11-07 18:05 [ptxdist] [PATCH] libgpiod: version bump 0.3.1 -> 0.3.2 Clemens Gruber
  2017-11-07 18:05 ` [ptxdist] [PATCH 1/2] u-boot-tools: version bump 2017.07 -> 2017.09 Clemens Gruber
@ 2017-11-07 18:05 ` Clemens Gruber
  1 sibling, 0 replies; 3+ messages in thread
From: Clemens Gruber @ 2017-11-07 18:05 UTC (permalink / raw)
  To: ptxdist; +Cc: Clemens Gruber

Fixes the problem, occuring when dtc is installed on the host.
The patch is upstream.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 ...-not-attempt-to-use-the-systemwide-libfdt.patch | 52 ++++++++++++++++++++++
 patches/u-boot-2017.09/series                      |  5 +++
 2 files changed, 57 insertions(+)
 create mode 100644 patches/u-boot-2017.09/0001-Do-not-attempt-to-use-the-systemwide-libfdt.patch
 create mode 100644 patches/u-boot-2017.09/series

diff --git a/patches/u-boot-2017.09/0001-Do-not-attempt-to-use-the-systemwide-libfdt.patch b/patches/u-boot-2017.09/0001-Do-not-attempt-to-use-the-systemwide-libfdt.patch
new file mode 100644
index 000000000..94aee2413
--- /dev/null
+++ b/patches/u-boot-2017.09/0001-Do-not-attempt-to-use-the-systemwide-libfdt.patch
@@ -0,0 +1,52 @@
+From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jan.kundrat@cesnet.cz>
+Date: Fri, 3 Nov 2017 03:06:35 +0100
+Subject: [PATCH] Do not attempt to use the systemwide libfdt
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+U-Boot bundles a patched copy of libfdt, so it's wrong to attempt to
+include it <like/this>. This breaks the build for me when I have dtc
+fully installed in my host -- as happened earlier tonight with
+Buildroot, for example.
+
+There are several other occurrences throughout the code where '<libfdt'
+matches. I'm not modifying these because I have no clue why the
+<systemwide> include style is being used -- IMHO wrongly.
+
+Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
+---
+ include/fdt.h    | 2 +-
+ include/libfdt.h | 2 +-
+ tools/fdtgrep.c  | 4 ++--
+ 3 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/include/fdt.h b/include/fdt.h
+index 7ead62e77715..f40b56c75545 100644
+--- a/include/fdt.h
++++ b/include/fdt.h
+@@ -1 +1 @@
+-#include <../lib/libfdt/fdt.h>
++#include "../lib/libfdt/fdt.h"
+diff --git a/include/libfdt.h b/include/libfdt.h
+index 10296a21addf..7ba13e634b65 100644
+--- a/include/libfdt.h
++++ b/include/libfdt.h
+@@ -1 +1 @@
+-#include <../lib/libfdt/libfdt.h>
++#include "../lib/libfdt/libfdt.h"
+diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c
+index f51f5f15f549..5897b6d5f780 100644
+--- a/tools/fdtgrep.c
++++ b/tools/fdtgrep.c
+@@ -16,8 +16,8 @@
+ #include <string.h>
+ #include <unistd.h>
+ 
+-#include <../include/libfdt.h>
+-#include <libfdt_internal.h>
++#include "../include/libfdt.h"
++#include "libfdt_internal.h"
+ 
+ /* Define DEBUG to get some debugging output on stderr */
+ #ifdef DEBUG
diff --git a/patches/u-boot-2017.09/series b/patches/u-boot-2017.09/series
new file mode 100644
index 000000000..49260d81a
--- /dev/null
+++ b/patches/u-boot-2017.09/series
@@ -0,0 +1,5 @@
+# generated by git-ptx-patches
+#tag:base --start-number 0
+#tag:upstream --start-number 1
+0001-Do-not-attempt-to-use-the-systemwide-libfdt.patch
+# a8e035bf38bdaf0a13114ea507417c0d  - git-ptx-patches magic
-- 
2.15.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-07 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-07 18:05 [ptxdist] [PATCH] libgpiod: version bump 0.3.1 -> 0.3.2 Clemens Gruber
2017-11-07 18:05 ` [ptxdist] [PATCH 1/2] u-boot-tools: version bump 2017.07 -> 2017.09 Clemens Gruber
2017-11-07 18:05 ` [ptxdist] [PATCH 2/2] u-boot-tools: add patch to avoid using systemwide libfdt Clemens Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox