xref: /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb (revision 705982a51d24e74df1786f60cc99d1106de626df)
1*705982a5SPatrick WilliamsSUMMARY="SSD1306 OLED I2C drive"
2*705982a5SPatrick WilliamsDESCRIPTION = "SSD1306 OLED I2C driver working in Linux"
3*705982a5SPatrick WilliamsHOMEPAGE = "https://github.com/armlabs/ssd1306_linux"
4*705982a5SPatrick WilliamsSECTION = "console/utils"
5*705982a5SPatrick WilliamsLICENSE = "MIT"
6*705982a5SPatrick Williams
7*705982a5SPatrick WilliamsLIC_FILES_CHKSUM = "file://LICENSE;md5=7b694e603a996c3bfdc6093ed1f70c8f"
8*705982a5SPatrick Williams
9*705982a5SPatrick WilliamsSRC_URI = " \
10*705982a5SPatrick Williams    git://github.com/armlabs/ssd1306_linux.git;protocol=https;branch=master \
11*705982a5SPatrick Williams"
12*705982a5SPatrick WilliamsSRCREV = "34b42992a43fda69c6ba2557b718601cafe16251"
13*705982a5SPatrick Williams
14*705982a5SPatrick WilliamsS = "${WORKDIR}/git"
15*705982a5SPatrick Williams
16*705982a5SPatrick Williams# coreutils provides fmt which is used in the Makefile
17*705982a5SPatrick WilliamsDEPENDS = "i2c-tools coreutils-native"
18*705982a5SPatrick Williams
19*705982a5SPatrick WilliamsEXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
20*705982a5SPatrick Williams
21*705982a5SPatrick Williamsdo_install() {
22*705982a5SPatrick Williams    install -d ${D}${bindir}
23*705982a5SPatrick Williams    install -m 0755 ${B}/ssd1306_bin ${D}${bindir}
24*705982a5SPatrick Williams}
25