SAMA5D4 Xplained Ultra Board BSP
guowenxue
2019-09-23 c35ac6f2aad2ebe9d7cb5ca461822f0635af3798
update setup_env.sh shell script, add install libssl-dev for dtc
2 files modified
6 ■■■■ changed files
program/lylib/spidev.c 4 ●●●● patch | view | raw | blame | history
tools/setup_env.sh 2 ●●● patch | view | raw | blame | history
program/lylib/spidev.c
@@ -10,6 +10,8 @@
 *      ChangeLog:  1, Release initial version on "2019年08月19日 23时18分54秒"
 *                 
 ********************************************************************************/
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
@@ -65,6 +67,8 @@
        goto cleanup;
    }
    spi_dbg("Open SPI '%s' fd=%d\n", spi->devname, spi->fd);
cleanup:
    if( rv < 0 )
    {
tools/setup_env.sh
@@ -55,7 +55,7 @@
    systools="gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat \
        libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 \
        help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf \
        automake groff curl lzop asciidoc lib32z1 lib32ncurses5"
        automake groff curl lzop asciidoc lib32z1 lib32ncurses5 libssl-dev"
    devtools="u-boot-tools mtd-utils device-tree-compiler"