All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio@ossystems.com.br>
To: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Subject: [PATCH 16/32] dtc: Add recipe for version 1.4.5
Date: Mon, 25 Jun 2018 16:30:16 -0300	[thread overview]
Message-ID: <20180625193032.9248-16-otavio@ossystems.com.br> (raw)
In-Reply-To: <20180625193032.9248-1-otavio@ossystems.com.br>

From: Fabio Berton <fabio.berton@ossystems.com.br>

We need dtc version 1.4.5 to build u-boot-imx 2017.03, current
version 1.4.6 raise a lot of errors and can't build older U-Boot
version.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 recipes-bsp/u-boot/u-boot-imx_2017.03.bb    |  2 +-
 recipes-kernel/dtc/dtc-145_git.bb           | 12 ++++++++++++
 recipes-kernel/dtc/files/make_install.patch | 17 +++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/dtc/dtc-145_git.bb
 create mode 100644 recipes-kernel/dtc/files/make_install.patch

diff --git a/recipes-bsp/u-boot/u-boot-imx_2017.03.bb b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
index 72205676..52ebee99 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
+++ b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards."
 require recipes-bsp/u-boot/u-boot.inc
 
 PROVIDES += "u-boot"
-DEPENDS_append = "dtc-native"
+DEPENDS_append = "dtc-145-native"
 
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
diff --git a/recipes-kernel/dtc/dtc-145_git.bb b/recipes-kernel/dtc/dtc-145_git.bb
new file mode 100644
index 00000000..afed62fd
--- /dev/null
+++ b/recipes-kernel/dtc/dtc-145_git.bb
@@ -0,0 +1,12 @@
+require recipes-kernel/dtc/dtc.inc
+
+LIC_FILES_CHKSUM = " \
+    file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
+    file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c \
+"
+
+SRCREV = "22a65c5331c22979d416738eb756b9541672e00d"
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-kernel/dtc/files/make_install.patch b/recipes-kernel/dtc/files/make_install.patch
new file mode 100644
index 00000000..ccf17b38
--- /dev/null
+++ b/recipes-kernel/dtc/files/make_install.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Inappropriate [configuration]
+
+Index: git/Makefile
+===================================================================
+--- git.orig/Makefile
++++ git/Makefile
+@@ -168,8 +168,8 @@ install-bin: all $(SCRIPTS)
+ install-lib: all
+ 	@$(VECHO) INSTALL-LIB
+ 	$(INSTALL) -d $(DESTDIR)$(LIBDIR)
+-	$(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
+-	ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
++	$(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
++	ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib))
+ 	ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT)
+ 	$(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR)
+ 
-- 
2.18.0



  parent reply	other threads:[~2018-06-25 19:32 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25 19:30 [PATCH 01/32] imx-vpu: Update to version 5.4.38 Otavio Salvador
2018-06-25 19:30 ` [PATCH 02/32] imx-gpu-viv: Update to 6.2.4.p1.2 Otavio Salvador
2018-06-25 19:30 ` [PATCH 03/32] imx-gpu-g2d: Update to version 6.2.4 Otavio Salvador
2018-06-25 19:30 ` [PATCH 04/32] imx-parser: Update to version 4.3.5 Otavio Salvador
2018-06-25 19:30 ` [PATCH 05/32] imx-codec: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 06/32] imx-vpuwrap: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 07/32] imx-kobs: Bump revision to c70685d Otavio Salvador
2018-06-25 19:30 ` [PATCH 08/32] libimxvpuapi: Bump revision to 4afb52f Otavio Salvador
2018-06-25 19:30 ` [PATCH 09/32] imx-lib: Bump to revision 3f77797 Otavio Salvador
2018-06-25 19:30 ` [PATCH 10/32] gstreamer1.0-plugins-base: Rename patch directory to match recipe name Otavio Salvador
2018-06-25 19:30 ` [PATCH 11/32] gstreamer1.0-plugins-bad: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 12/32] imx-gpu-apitrace: Bump revision to 9281b2c2 Otavio Salvador
2018-06-25 19:30 ` [PATCH 13/32] imx-test: Update to version 7.0 Otavio Salvador
2018-06-25 19:30 ` [PATCH 14/32] kernel-module-imx-gpu-viv: Update to version 6.2.4.p1.2-based fork Otavio Salvador
2018-06-25 19:30 ` [PATCH 15/32] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.2 Otavio Salvador
2018-06-25 19:30 ` Otavio Salvador [this message]
2018-06-28 15:33   ` [PATCH 16/32] dtc: Add recipe for version 1.4.5 Mihai Lindner
2018-06-28 16:49     ` Otavio Salvador
2018-06-29 17:53       ` Mihai Lindner
2018-07-02 16:42         ` Ian Coolidge
2018-07-02 17:09           ` Otavio Salvador
2018-07-04 14:44             ` Mihai Lindner
2018-06-25 19:30 ` [PATCH 17/32] gstreamer1.0-plugins-base: Update release to 4.9.88 Otavio Salvador
2018-06-25 19:30 ` [PATCH 18/32] gstreamer1.0-plugins-bad: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 19/32] xf86-video-imxfb-vivante: Update to version 6.2.4.p1 Otavio Salvador
2018-06-26  8:25   ` Gary Bisson
2018-06-25 19:30 ` [PATCH 20/32] imx-gst1.0-plugin: Update to MM_04.03.05_1804_L4.9.88_MX7ULP_GA Otavio Salvador
2018-06-25 19:30 ` [PATCH 21/32] gstreamer1.0-plugins-imx: Bump to revision 963aea6 Otavio Salvador
2018-06-25 19:30 ` [PATCH 22/32] weston: Fix PREFERRED_VERSION_weston Otavio Salvador
2018-06-25 19:30 ` [PATCH 23/32] xf86-video-imx-vivante: Remove fb from name Otavio Salvador
2018-06-25 19:30 ` [PATCH 24/32] imx-base.inc: Improve formatting Otavio Salvador
2018-06-25 19:30 ` [PATCH 25/32] imx-dpu-g2d: Add new G2D implementation based on DPU Otavio Salvador
2018-06-25 20:24   ` Gary Bisson
2018-06-25 21:14     ` Otavio Salvador
2018-06-25 19:30 ` [PATCH 26/32] imx-gpu-viv: Rename package for libgal Otavio Salvador
2018-06-25 19:30 ` [PATCH 27/32] imx-gpu-viv: Add i.MX 8 support Otavio Salvador
2018-06-26  8:12   ` Gary Bisson
2018-06-26 16:49     ` Otavio Salvador
2018-06-26 22:00       ` Tom Hochstein
2018-06-25 19:30 ` [PATCH 28/32] xf86-video-imx-vivante: " Otavio Salvador
2018-06-25 19:30 ` [PATCH 29/32] imx-base.inc: Add i.MX 8M support Otavio Salvador
2018-06-25 20:22   ` Gary Bisson
2018-06-25 21:07     ` Otavio Salvador
2018-06-25 19:30 ` [PATCH 30/32] imx-base.inc: Add imxdpu and imxdpublit to MACHINEOVERRIDES_EXTENDER Otavio Salvador
2018-06-26  8:19   ` Gary Bisson
2018-06-27 14:00     ` Tom Hochstein
2018-06-27 14:12       ` Gary Bisson
2018-06-27 14:59         ` Tom Hochstein
2018-06-25 19:30 ` [PATCH 31/32] imx-base.inc: Add imxgpu " Otavio Salvador
2018-06-25 19:30 ` [PATCH 32/32] weston: Set package arch for all i.MX Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180625193032.9248-16-otavio@ossystems.com.br \
    --to=otavio@ossystems.com.br \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.