summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2025-07-13 09:37:46 +0200
committerKhem Raj <raj.khem@gmail.com>2025-07-13 09:46:10 -0700
commit0ae2109bce71d8cb2dee4a176a784e39f893501b (patch)
treea7b25f1502676dee6cfd4e393911f687f075a7f4
parentd78a537ee854abbf78f7d67483dfd5b3002b25f4 (diff)
downloadmeta-openembedded-0ae2109bce71d8cb2dee4a176a784e39f893501b.tar.gz
ufs-utils: upgrade 6.14.11 -> 7.14.11
Extending _GNU_SOURCE to the CFGLAS of all platforms, not just mipsarchn64, was necessary to fix the following error raised during the compilation of the new version: ufs_emon.c: In function ‘do_emon’: ufs_emon.c:455:51: error: ‘O_DIRECT’ undeclared (first use in this function); did you mean ‘O_DIRECTORY’? 455 | fill_data_fd = open("fill_file", O_RDWR | O_DIRECT | O_CREAT, | ^~~~~~~~ | O_DIRECTORY ufs_emon.c:455:51: note: each undeclared identifier is reported only once for each function it appears in This _GNU_SOURCE define was added upstream in commit [1] in the Makefile default CFLAGS, but since Yocto redefines those it needs to be added back. Release notes: https://github.com/SanDisk-Open-Source/ufs-utils/releases/tag/v7.14.11 [1] https://github.com/SanDisk-Open-Source/ufs-utils/commit/183e0deb28f13cfb3caf161fc6d0f3cd1edb05c2 Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-filesystems/recipes-utils/ufs-utils/ufs-utils_7.14.11.bb (renamed from meta-filesystems/recipes-utils/ufs-utils/ufs-utils_6.14.11.bb)5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_6.14.11.bb b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_7.14.11.bb
index a22e54e24c..50b6b5a16c 100644
--- a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_6.14.11.bb
+++ b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_7.14.11.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
4 4
5BRANCH ?= "dev" 5BRANCH ?= "dev"
6 6
7SRCREV = "5539a8ad8e1a9b7ea8b62213ed72eb939c5381b7" 7SRCREV = "92c8e4d732c34f8d0754d0e076879ca7008bace4"
8 8
9SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \ 9SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \
10 " 10 "
@@ -14,7 +14,8 @@ UPSTREAM_CHECK_COMMITS = "1"
14 14
15EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}"" 15EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}""
16 16
17CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__ -D_GNU_SOURCE" 17CFLAGS:append = " -D_GNU_SOURCE"
18CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
18 19
19do_configure() { 20do_configure() {
20 sed -i -e "s|-static$||g" ${S}/Makefile 21 sed -i -e "s|-static$||g" ${S}/Makefile