Files
openwrt_yocto/meta-openembedded/meta-oe/recipes-support/sdmon/sdmon_git.bb
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

21 lines
549 B
BlitzBasic

SUMMARY = "Get SD card health data"
HOMEPAGE = "https://github.com/Ognian/sdmon"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://github.com/Ognian/sdmon;protocol=https;branch=master"
PV = "0.8.1+git"
SRCREV = "ef1aec457f04a50721f0259651cca9c946f11390"
S = "${WORKDIR}/git"
do_compile() {
oe_runmake -C ${S}/src CC="${CC}" CFLAGS="${CFLAGS} -D_REENTRANT -DVERSION=\"\\\"${PV}\\\"\"" LDFLAGS="${LDFLAGS}"
}
do_install() {
install -Dm 0755 ${S}/src/sdmon ${D}${bindir}/sdmon
}