mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
7fbb276718
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Armin Kuster <akuster808@gmail.com>
33 lines
791 B
BlitzBasic
33 lines
791 B
BlitzBasic
SUMMARY = "Tool to access UFS (Universal Flash Storage) devices"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
|
|
|
BRANCH ?= "dev"
|
|
|
|
SRCREV = "517c0b01e47d4441cc45be351509fb4c96843d5a"
|
|
|
|
SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \
|
|
file://0001-Use-asm-type.h-for-kernel-types.patch \
|
|
"
|
|
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}""
|
|
|
|
CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__ -D_GNU_SOURCE"
|
|
|
|
do_configure() {
|
|
sed -i -e "s|-static$||g" ${S}/Makefile
|
|
}
|
|
|
|
do_install() {
|
|
install -D -m 755 ${S}/ufs-utils ${D}${bindir}/ufs-utils
|
|
}
|
|
|
|
PROVIDES += "ufs-tool"
|
|
|
|
RPROVIDES_${PN} += "ufs-tool"
|
|
|