meta-openembedded/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
Leon Anavi c8ef8ccd8d
ssd1306: Update to newer version
Update to the latest version of the source code in GitHub:

- Use snprintf to replace strncpy without null string at last

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-02 08:57:40 -07:00

24 lines
672 B
BlitzBasic

SUMMARY = "SSD1306 OLED I2C drive"
DESCRIPTION = "SSD1306 OLED I2C driver working in Linux"
HOMEPAGE = "https://github.com/armlabs/ssd1306_linux"
SECTION = "console/utils"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7b694e603a996c3bfdc6093ed1f70c8f"
SRC_URI = " \
git://github.com/armlabs/ssd1306_linux.git;protocol=https;branch=master \
"
SRCREV = "19128ed4b6108408fea05b9d0551236b6d638dbc"
# coreutils provides fmt which is used in the Makefile
DEPENDS = "i2c-tools coreutils-native"
EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${B}/ssd1306_bin ${D}${bindir}
}