Files
poky/meta/recipes-devtools/mmc/mmc-utils_git.bb
Dario Binacchi f50bbb4b49 mmc-utils: properly set sparse option
Commit [1] fixes the conditional invocation of sparse properly handling
the corresponding 'C' option. Hence, the related change in the
EXTRA_OEMAKE (i.e. C=0).

[1] https://web.git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/commit/?id=a89cba2a0f8c6a19aa6b804877241170f5b6bdd2

(From OE-Core rev: 6fec97d6f0326989d37f9e20cf177d3c260979f7)

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00

25 lines
775 B
BlitzBasic

SUMMARY = "Userspace tools for MMC/SD devices"
HOMEPAGE = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/"
DESCRIPTION = "${SUMMARY}"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
SRCBRANCH ?= "master"
SRCREV = "d8a8358a7207bd81d0c38dca2cf27a48bf411341"
PV = "1.0"
SRC_URI = "git://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git;branch=${SRCBRANCH};protocol=https;tag=v${PV}"
DEPENDS = "python3-sphinx-native"
EXTRA_OEMAKE = "C=0"
CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
CFLAGS:append:mipsarchn32 = " -D__SANE_USERSPACE_TYPES__"
do_install() {
install -d ${D}${bindir}
install -m 0755 mmc ${D}${bindir}
}