From patchwork Fri Oct 25 20:00:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1184432 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=railnova.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=railnova-eu.20150623.gappssmtp.com header.i=@railnova-eu.20150623.gappssmtp.com header.b="U+EIohGM"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 470FPV4Tlgz9sPc for ; Sat, 26 Oct 2019 07:01:50 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 876988621E; Fri, 25 Oct 2019 20:01:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aBlQlCA0TCqk; Fri, 25 Oct 2019 20:01:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4A41B85F63; Fri, 25 Oct 2019 20:01:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 0FB101BF2A6 for ; Fri, 25 Oct 2019 20:01:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0BF7981E3F for ; Fri, 25 Oct 2019 20:01:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y9iwdYLSzATp for ; Fri, 25 Oct 2019 20:01:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 37A1D81E1B for ; Fri, 25 Oct 2019 20:01:43 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id v6so3246978wmj.0 for ; Fri, 25 Oct 2019 13:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=railnova-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5ADMsPuvunMmSur+Yq00VUqVYmsZtztZYw3kkv/CH4w=; b=U+EIohGMXqa5BMEuO5tvKBTp0xwE0KDk2hcZIIRYoqomjR5453C0mlWN/Mu98h44sx HlI4JeZ/OFuHgBitJ/kpMKHaMvseE/a4I8BLhjNjedm3VDRkNsCmxqF25VTzKESYTAXy +t7gSCkCc1ObXFC20622xOpF6S2EEWNvU2nnK2MP1MhAF3Q8UQ2LIboqgb1TanEo7hQl q7iLlil4j4oIMcj+4QeGJ3z+CWaXMQ2kE3/3JhlRd6Fp9Bvbek+69v6B4FitfydJcrbj camsJBFhLP2HMi+JYRTH9NQCzg/AfQCGhZHUhIMw59SXo+7PbB5mJcs6+sRUrLFyKY6v qYfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5ADMsPuvunMmSur+Yq00VUqVYmsZtztZYw3kkv/CH4w=; b=mifSwk1P96WaSRrlT4jbM511MSZehC6GprprjaLbnkuIdYCWS52980dW5XbFfWVQDk X9ig+dl+Vq4GAsxuYeyK8GAWvwFiJnD91GuhvTEkuvZQzqAyrtOR57qrM+AiyyxiSMK9 mx8TH7mlWer13xNhUigFyidworVl3aQ4Ne0XH5UYCMm3F/EvIVdfbf1U7bnvt34fZp// kOXTmiu+oXHX4IBVUdx4h41+kKhi64LkP1PXJyscE0dhZNhPPVI14cu9iqwUUnM6+UUm G7PTVORM9nyfzT9l1yoTltt4KeB/eT+nhWzuUh0iN99Fl74VMmZNXP9/F/mGqlJ/xHup ERtQ== X-Gm-Message-State: APjAAAXm8Wu5jrA7T9Egj97+lGvgzEL5EFcPqw+52C8FJMNJAMQEQLma 22VYkwz49jI8gO2jeiAvuALyKfCTHMEgp1XY X-Google-Smtp-Source: APXvYqyadcG5cjxhGUvCbdv05hdM/n8Tt+vDGbzUzBvPpLJG2UcLVJOy7uW1BhsK8GDUMs6xOuv+AQ== X-Received: by 2002:a1c:9894:: with SMTP id a142mr4807431wme.135.1572033701161; Fri, 25 Oct 2019 13:01:41 -0700 (PDT) Received: from taurus.clients.t37.sncf ([109.190.253.15]) by smtp.gmail.com with ESMTPSA id q22sm3047684wmj.5.2019.10.25.13.01.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Oct 2019 13:01:40 -0700 (PDT) From: Titouan Christophe To: buildroot@buildroot.org Date: Fri, 25 Oct 2019 22:00:34 +0200 Message-Id: <20191025200034.199561-1-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/dtc: Bump to v1.5.1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joel Stanley , "Yann E . MORIN" , Titouan Christophe Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Remove 0002-Makefile-Add-EXTRA_CFLAGS-variable.patch which is now applied upstream Signed-off-by: Titouan Christophe --- ...ards-for-older-kernel-u-boot-sources.patch | 13 +++++-- ...2-Makefile-Add-EXTRA_CFLAGS-variable.patch | 37 ------------------- package/dtc/dtc.hash | 2 +- package/dtc/dtc.mk | 2 +- 4 files changed, 11 insertions(+), 43 deletions(-) delete mode 100644 package/dtc/0002-Makefile-Add-EXTRA_CFLAGS-variable.patch diff --git a/package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch b/package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch index bff5f4c07a..bf3d61a8ce 100644 --- a/package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch +++ b/package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch @@ -15,6 +15,8 @@ Signed-off-by: Lothar Felten [ThomasDS: also update fdt.h which has the same issue, seen on U-Boot 2011.03] Signed-off-by: Thomas De Schampheleire +[Titouan: Taking new SPDX line into account] +Signed-off-by: Titouan Christophe --- libfdt/fdt.h | 4 ++++ libfdt/libfdt.h | 4 ++++ @@ -25,7 +27,8 @@ diff --git a/libfdt/fdt.h b/libfdt/fdt.h index 74961f9..2904f48 100644 --- a/libfdt/fdt.h +++ b/libfdt/fdt.h -@@ -1,3 +1,7 @@ +@@ -1,4 +1,8 @@ + /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ +#ifdef _FDT_H +#warning "Please consider updating your kernel and/or u-boot version" +#define FDT_H @@ -37,7 +40,8 @@ diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h index 830b77e..bef4566 100644 --- a/libfdt/libfdt.h +++ b/libfdt/libfdt.h -@@ -1,3 +1,7 @@ +@@ -1,4 +1,8 @@ + /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ +#ifdef _LIBFDT_H +#warning "Please consider updating your kernel and/or u-boot version" +#define LIBFDT_H @@ -49,7 +53,8 @@ diff --git a/libfdt/libfdt_env.h b/libfdt/libfdt_env.h index eb20538..6a61e6a 100644 --- a/libfdt/libfdt_env.h +++ b/libfdt/libfdt_env.h -@@ -1,3 +1,7 @@ +@@ -1,4 +1,8 @@ + /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ +#ifdef _LIBFDT_ENV_H +#warning "Please consider updating your kernel and/or u-boot version" +#define LIBFDT_ENV_H @@ -58,5 +63,5 @@ index eb20538..6a61e6a 100644 #define LIBFDT_ENV_H /* -- -2.19.2 +2.21.0 diff --git a/package/dtc/0002-Makefile-Add-EXTRA_CFLAGS-variable.patch b/package/dtc/0002-Makefile-Add-EXTRA_CFLAGS-variable.patch deleted file mode 100644 index b3f14a6991..0000000000 --- a/package/dtc/0002-Makefile-Add-EXTRA_CFLAGS-variable.patch +++ /dev/null @@ -1,37 +0,0 @@ -From f7c659d7daff5dbf4a0be959a544f15eab7fc49c Mon Sep 17 00:00:00 2001 -From: Joel Stanley -Date: Mon, 22 Jul 2019 12:21:49 +0930 -Subject: [PATCH] Makefile: Add EXTRA_CFLAGS variable - -Distributions packaging dtc may need to set extra flags. Currently when -they do that it overrides the ones set by the makefile. This is -particularly problematic when compiling without yaml, as the yaml -detection is ignored. - - ld: dtc.o: in function `main': - dtc.c:(.text.startup+0x718): undefined reference to `dt_to_yaml' - -This patch provides a EXTRA_CFLAGS variable that is added to the list of -CFLAGS, and can be set on the command line when packaging. - -Signed-off-by: Joel Stanley ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index e6b32cf1cbf5..6807669569b3 100644 ---- a/Makefile -+++ b/Makefile -@@ -18,7 +18,7 @@ CONFIG_LOCALVERSION = - CPPFLAGS = -I libfdt -I . - WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ - -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow --CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS) -+CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS) $(EXTRA_CFLAGS) - - BISON = bison - LEX = flex --- -2.20.1 - diff --git a/package/dtc/dtc.hash b/package/dtc/dtc.hash index 4d0aaea601..3adfcc45a9 100644 --- a/package/dtc/dtc.hash +++ b/package/dtc/dtc.hash @@ -1,5 +1,5 @@ # from https://www.kernel.org/pub/software/utils/dtc/sha256sums.asc -sha256 c672e443c9f7e39f5a7c8e602da6777f9ad55ad70de87de300a43828c8050172 dtc-1.5.0.tar.xz +sha256 660b74039690fc37013660544d09191834efb58503c73c555c5513ba75ab031f dtc-1.5.1.tar.xz # Hash for license files sha256 171ce1c292cf148a5be9ff95ce7e5c3d79a002721ab8e119eae3c0f5336d2b3d README.license diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk index 0ed914ba41..ce094cfb86 100644 --- a/package/dtc/dtc.mk +++ b/package/dtc/dtc.mk @@ -4,7 +4,7 @@ # ################################################################################ -DTC_VERSION = 1.5.0 +DTC_VERSION = 1.5.1 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)