Skip to contentSkip to conversation

package/dtc: bump to version 1.5.0

PATCH New Fabrice Fontaine 2 participants 2 messages Jun 20, 2019 – Jul 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dtc: bump to version 1.5.0

- Remove first and third patches (already in version)
- Disable yaml which is enabled by default and has been added with
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=c86da84d30e4b72cfb4fee22b62bea4257bc14bf
- Move CFLAGS in {DTC,HOST_DTC}_MAKE_OPTS for readability
- Add hash for license files

---
 ...rds-for-older-kernel-u-boot-sources.patch} |   0
 ...001-Kill-bogus-TYPE_BLOB-marker-type.patch | 138 ------------------
 ...s-fix-simple-bus-compatible-matching.patch | 120 ---------------
 package/dtc/dtc.hash                          |   6 +-
 package/dtc/dtc.mk                            |   8 +-
 5 files changed, 10 insertions(+), 262 deletions(-)
 rename package/dtc/{0002-Fix-include-guards-for-older-kernel-u-boot-sources.patch => 0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch} (100%)
 delete mode 100644 package/dtc/0001-Kill-bogus-TYPE_BLOB-marker-type.patch
 delete mode 100644 package/dtc/0003-checks-fix-simple-bus-compatible-matching.patch
package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch renamed from package/dtc/0002-Fix-include-guards-for-older-kernel-u-boot-sources.patch +0 -0
similarity index 100%
rename from package/dtc/0002-Fix-include-guards-for-older-kernel-u-boot-sources.patch
rename to package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch
package/dtc/0001-Kill-bogus-TYPE_BLOB-marker-type.patch deleted +0 -138

138 lines not on this page · raw message

package/dtc/0003-checks-fix-simple-bus-compatible-matching.patch deleted +0 -120

120 lines not on this page · raw message

package/dtc/dtc.hash +5 -1
index b402c2249b..188612d6f8 100644
@@ -1,2 +1,6 @@
 # from https://www.kernel.org/pub/software/utils/dtc/sha256sums.asc
-sha256 6643e8f00ff86350f465bb54b2185058b5b1b7bac01a0842c81a52b86589cde7 dtc-1.4.7.tar.xz
+sha256 c672e443c9f7e39f5a7c8e602da6777f9ad55ad70de87de300a43828c8050172 dtc-1.5.0.tar.xz
+
+# Hash for license files
+sha256 171ce1c292cf148a5be9ff95ce7e5c3d79a002721ab8e119eae3c0f5336d2b3d README.license
+sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 GPL
package/dtc/dtc.mk +5 -3
index 7cb879bff4..9a8211ae95 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-DTC_VERSION = 1.4.7
+DTC_VERSION = 1.5.0
 DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz
 DTC_SITE = https://www.kernel.org/pub/software/utils/dtc
 DTC_LICENSE = GPL-2.0+ or BSD-2-Clause (library)
@@ -14,10 +14,12 @@ DTC_DEPENDENCIES = host-bison host-flex
 HOST_DTC_DEPENDENCIES = host-bison host-flex
 
 DTC_MAKE_OPTS = \
+	CFLAGS="$(TARGET_CFLAGS) -fPIC -DNO_YAML" \
 	PREFIX=/usr \
 	NO_PYTHON=1
 
 HOST_DTC_MAKE_OPTS = \
+	CFLAGS="$(HOST_CFLAGS) -fPIC -DNO_YAML" \
 	PREFIX=$(HOST_DIR) \
 	NO_PYTHON=1
 
@@ -40,7 +42,7 @@ DTC_INSTALL_GOAL = install-lib
 endif # $(BR2_PACKAGE_DTC_PROGRAMS) != y
 
 define DTC_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) $(DTC_MAKE_OPTS)
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(DTC_MAKE_OPTS)
 endef
 
 # For staging, only the library is needed
@@ -55,7 +57,7 @@ endef
 
 # host build
 define HOST_DTC_BUILD_CMDS
-	$(HOST_CONFIGURE_OPTS) $(MAKE) CFLAGS="$(HOST_CFLAGS) -fPIC" -C $(@D) $(HOST_DTC_MAKE_OPTS)
+	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(HOST_DTC_MAKE_OPTS)
 endef
 
 define HOST_DTC_INSTALL_CMDS
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/dtc: bump to version 1.5.0

Hello Fabrice,

Quoted 7 lines · On Thu, 20 Jun 2019 20:20:36 +0200 Fabrice Fontaine…

- Remove first and third patches (already in version)
- Disable yaml which is enabled by default and has been added with
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=c86da84d30e4b72cfb4fee22b62bea4257bc14bf
- Move CFLAGS in {DTC,HOST_DTC}_MAKE_OPTS for readability
- Add hash for license files

Quoted 10 lines
---
 ...rds-for-older-kernel-u-boot-sources.patch} |   0
 ...001-Kill-bogus-TYPE_BLOB-marker-type.patch | 138 ------------------
 ...s-fix-simple-bus-compatible-matching.patch | 120 ---------------
 package/dtc/dtc.hash                          |   6 +-
 package/dtc/dtc.mk                            |   8 +-
 5 files changed, 10 insertions(+), 262 deletions(-)
 rename package/dtc/{0002-Fix-include-guards-for-older-kernel-u-boot-sources.patch => 0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch} (100%)
 delete mode 100644 package/dtc/0001-Kill-bogus-TYPE_BLOB-marker-type.patch
 delete mode 100644 package/dtc/0003-checks-fix-simple-bus-compatible-matching.patch

Sorry, I am seeing this patch now, after applying a few minutes ago another patch bumping dtc, from Joel Stanley. Sorry about that.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com