summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2022-06-15 13:04:15 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-17 17:57:44 +0100
commit3f4317436c321db07a6b2146c7a9295a43b3db6e (patch)
treea6d7b8137589d195edd69c2b9e865073c3ff4706
parente5b5fceb7184d05aacde41eb7d62540f60494376 (diff)
downloadpoky-3f4317436c321db07a6b2146c7a9295a43b3db6e.tar.gz
linux-firmware: upgrade 20220509 -> 20220610
Drop 0001-Makefile-replace-mkdir-by-install.patch merged upstream. License-Update: additional files (From OE-Core rev: 91cd99267157e860a108282aee13e162e8c10572) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux-firmware/files/0001-Makefile-replace-mkdir-by-install.patch84
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20220610.bb (renamed from meta/recipes-kernel/linux-firmware/linux-firmware_20220509.bb)5
2 files changed, 2 insertions, 87 deletions
diff --git a/meta/recipes-kernel/linux-firmware/files/0001-Makefile-replace-mkdir-by-install.patch b/meta/recipes-kernel/linux-firmware/files/0001-Makefile-replace-mkdir-by-install.patch
deleted file mode 100644
index b1ac5a16ab..0000000000
--- a/meta/recipes-kernel/linux-firmware/files/0001-Makefile-replace-mkdir-by-install.patch
+++ /dev/null
@@ -1,84 +0,0 @@
1From 71514e74f35f2b51ca24062573d6d913525b30db Mon Sep 17 00:00:00 2001
2From: Konrad Weihmann <kweihmann@outlook.com>
3Date: Mon, 9 May 2022 12:57:57 +0200
4Subject: [PATCH] Makefile: replace mkdir by install
5
6mkdir -p creates paths that are bound to user's settings and therefore
7can lead to different file mode bits of the base paths accross different
8machines.
9Use install instead, as this tool is not prone to such behavior.
10
11Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
12Upstream-Status: Submitted [https://lore.kernel.org/linux-firmware/PR2PR09MB310088EA719E6D7CA5C268F1A8C69@PR2PR09MB3100.eurprd09.prod.outlook.com/]
13---
14 Makefile | 2 +-
15 carl9170fw/toolchain/Makefile | 4 ++--
16 copy-firmware.sh | 6 +++---
17 3 files changed, 6 insertions(+), 6 deletions(-)
18
19diff --git a/Makefile b/Makefile
20index e1c362f..83a0ec6 100644
21--- a/Makefile
22+++ b/Makefile
23@@ -9,5 +9,5 @@ check:
24 @./check_whence.py
25
26 install:
27- mkdir -p $(DESTDIR)$(FIRMWAREDIR)
28+ install -d $(DESTDIR)$(FIRMWAREDIR)
29 ./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
30diff --git a/carl9170fw/toolchain/Makefile b/carl9170fw/toolchain/Makefile
31index 2b25ffe..aaea8e8 100644
32--- a/carl9170fw/toolchain/Makefile
33+++ b/carl9170fw/toolchain/Makefile
34@@ -46,14 +46,14 @@ src/gcc-$(GCC_VER): src/$(GCC_TAR) src/newlib-$(NEWLIB_VER)
35 ln -s $(BASEDIR)/src/newlib-$(NEWLIB_VER)/libgloss $@
36
37 binutils: src/binutils-$(BINUTILS_VER)
38- mkdir -p build/binutils
39+ install -d build/binutils
40 cd build/binutils; \
41 $(BASEDIR)/$</configure --target=sh-elf --prefix=$(BASEDIR)/inst; \
42 $(MAKE) -j3; \
43 $(MAKE) install
44
45 gcc: src/gcc-$(GCC_VER) binutils
46- mkdir -p build/gcc
47+ install -d build/gcc
48 cd build/gcc; \
49 $(BASEDIR)/$</configure --target=sh-elf --prefix=$(BASEDIR)/inst -enable-languages=c --without-pkgversion --with-newlib; \
50 $(MAKE) -j3; \
51diff --git a/copy-firmware.sh b/copy-firmware.sh
52index 9b46b63..bbacb92 100755
53--- a/copy-firmware.sh
54+++ b/copy-firmware.sh
55@@ -34,7 +34,7 @@ done
56 grep '^File:' WHENCE | sed -e's/^File: *//g' -e's/"//g' | while read f; do
57 test -f "$f" || continue
58 $verbose "copying file $f"
59- mkdir -p $destdir/$(dirname "$f")
60+ install -d $destdir/$(dirname "$f")
61 cp -d "$f" $destdir/"$f"
62 done
63
64@@ -42,7 +42,7 @@ grep -E '^Link:' WHENCE | sed -e's/^Link: *//g' -e's/-> //g' | while read f d; d
65 if test -L "$f"; then
66 test -f "$destdir/$f" && continue
67 $verbose "copying link $f"
68- mkdir -p $destdir/$(dirname "$f")
69+ install -d $destdir/$(dirname "$f")
70 cp -d "$f" $destdir/"$f"
71
72 if test "x$d" != "x"; then
73@@ -63,7 +63,7 @@ grep -E '^Link:' WHENCE | sed -e's/^Link: *//g' -e's/-> //g' | while read f d; d
74 fi
75 else
76 $verbose "creating link $f -> $d"
77- mkdir -p $destdir/$(dirname "$f")
78+ install -d $destdir/$(dirname "$f")
79 ln -sf "$d" "$destdir/$f"
80 fi
81 done
82--
832.25.1
84
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20220509.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20220610.bb
index 10a7036a19..78b38df461 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20220509.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20220610.bb
@@ -69,7 +69,7 @@ LICENSE = "\
69 & WHENCE \ 69 & WHENCE \
70" 70"
71 71
72WHENCE_CHKSUM = "d3eb82686904888f8bbbe8d865371404" 72WHENCE_CHKSUM = "385947b278a6646ae4c3d39ba8c9b1bb"
73LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ 73LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
74 file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \ 74 file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \
75 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \ 75 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
@@ -206,7 +206,6 @@ PE = "1"
206 206
207SRC_URI = "\ 207SRC_URI = "\
208 ${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz \ 208 ${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz \
209 file://0001-Makefile-replace-mkdir-by-install.patch \
210" 209"
211 210
212BBCLASSEXTEND = "devupstream:target" 211BBCLASSEXTEND = "devupstream:target"
@@ -214,7 +213,7 @@ SRC_URI:class-devupstream = "git://git.kernel.org/pub/scm/linux/kernel/git/firmw
214# Pin this to the 20220509 release, override this in local.conf 213# Pin this to the 20220509 release, override this in local.conf
215SRCREV:class-devupstream ?= "b19cbdca78ab2adfd210c91be15a22568e8b8cae" 214SRCREV:class-devupstream ?= "b19cbdca78ab2adfd210c91be15a22568e8b8cae"
216 215
217SRC_URI[sha256sum] = "376e0b3d7b4f8aaa2abf7f5ab74803dcf14b06b94e3d841b1467cd9a2848255e" 216SRC_URI[sha256sum] = "faf3aedf89530e61f4fa1e8c7303dead9127cc24416945647797d079feb12837"
218 217
219inherit allarch 218inherit allarch
220 219