summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch
diff options
context:
space:
mode:
authorJörg Sommer <joerg.sommer@navimatix.de>2025-11-03 19:21:49 +0100
committerKhem Raj <raj.khem@gmail.com>2025-11-04 16:52:47 -0800
commit5f93bf9120d0d04713e713a2b06a8d45cd6aed37 (patch)
tree840cb164d3d486b25a7f0f0ea694e3b8e44754ab /meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch
parent076217856e246a9eed9e8bafafa4876f70980860 (diff)
downloadmeta-openembedded-5f93bf9120d0d04713e713a2b06a8d45cd6aed37.tar.gz
ubi-utils-klibc: Upgrade 2.0.2 -> 2.3.0
* 0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch was applied upstream as 64667fe63ba9dd78adb9c4abf04bc3e4e25a0fd7 * 0005-common.h-replace-getline-with-fgets.patch was applied upstream as 38a6e3e29d90e11c3d5147e609d7b8e021b2cabf * Updated all other patches due to patch fuzz * ubihealthd fails to build with type mismatch errors, because it is not used, it gets disabled. ``` In file included from /build/tmp/work/x86-64-v3-poky-linux/ubi-utils-klibc/2.0.2/recipe-sysroot/usr/lib/klibc/include/sys/signalfd.h:22, from ../sources/ubi-utils-klibc-2.0.2/ubi-utils/ubihealthd.c:16: /build/tmp/work/x86-64-v3-poky-linux/ubi-utils-klibc/2.0.2/recipe-sysroot/usr/lib/klibc/include/bits/types/sigset_t.h:7:20: error: conflicting types for 'sigse t_t'; have '__sigset_t' 7 | typedef __sigset_t sigset_t; | ^~~~~~~~ In file included from /build/tmp/work/x86-64-v3-poky-linux/ubi-utils-klibc/2.0.2/recipe-sysroot/usr/lib/klibc/include/signal.h:14, from /build/tmp/work/x86-64-v3-poky-linux/ubi-utils-klibc/2.0.2/recipe-sysroot/usr/lib/klibc/include/sys/poll.h:10, from /build/tmp/work/x86-64-v3-poky-linux/ubi-utils-klibc/2.0.2/recipe-sysroot/usr/lib/klibc/include/poll.h:1, from ../sources/ubi-utils-klibc-2.0.2/ubi-utils/ubihealthd.c:6: /build/tmp/work/x86-64-v3-poky-linux/ubi-utils-klibc/2.0.2/recipe-sysroot/usr/lib/klibc/include/arch/x86_64/klibc/archsignal.h:13:23: note: previous declaratio n of 'sigset_t' with type 'sigset_t' {aka 'long unsigned int'} 13 | typedef unsigned long sigset_t; | ^~~~~~~~ ``` * add new package for ubiscan Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch')
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch
new file mode 100644
index 0000000000..de36c3c8d9
--- /dev/null
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.3.0/0003-Makefile.am-only-build-ubi-utils.patch
@@ -0,0 +1,31 @@
1From 139d93bc405272a3261d57be26da842e737fe4d0 Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Sun, 28 Jan 2018 23:10:34 +0100
4Subject: [PATCH] Makefile.am: only build ubi-utils
5
6We only target the ubi-utils, static, small.
7
8Upstream-Status: Inappropriate [embedded specific]
9
10Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
11---
12 Makefile.am | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15diff --git a/Makefile.am b/Makefile.am
16index 5a6e77c..98715dd 100644
17--- a/Makefile.am
18+++ b/Makefile.am
19@@ -46,9 +46,9 @@ EXTRA_DIST = COPYING CHANGELOG.md README.txt
20
21 include lib/Makemodule.am
22 include ubi-utils/Makemodule.am
23-include misc-utils/Makemodule.am
24-include nand-utils/Makemodule.am
25-include nor-utils/Makemodule.am
26+#include misc-utils/Makemodule.am
27+#include nand-utils/Makemodule.am
28+#include nor-utils/Makemodule.am
29
30 if BUILD_UBIFS
31 include ubifs-utils/Makemodule.am