RaspberrPi project source code
guowenxue
2024-03-11 01a9d8e78d7cb51d15761ebe11f19b547f55e22a
Update libgpiod and modules makefile

Signed-off-by: guowenxue <guowenxue@gmail.com>
2 files modified
9 ■■■■ changed files
modules/makefile 7 ●●●● patch | view | raw | blame | history
project/openlibs/libgpiod/build.sh 2 ●●● patch | view | raw | blame | history
modules/makefile
@@ -12,6 +12,10 @@
#
#*******************************************************************************
PWD=$(shell pwd)
TOPDIR=${PWD}/../project/
OPENLIBS_INCPATH=${TOPDIR}/openlibs/install/include
OPENLIBS_LIBPATH=${TOPDIR}/openlibs/install/lib
BUILD_ARCH=$(shell uname -m)
ifneq ($(findstring $(BUILD_ARCH), "x86_64" "i386"),)
@@ -20,7 +24,8 @@
CC=${CROSS_COMPILE}gcc
LDFLAGS+=-lm -lgpiod
CFLAGS+=-I${OPENLIBS_INCPATH}
LDFLAGS+=-L${OPENLIBS_LIBPATH} -lm -lgpiod
SRCFILES = $(wildcard *.c)
BINARIES=$(SRCFILES:%.c=%)
project/openlibs/libgpiod/build.sh
@@ -2,7 +2,7 @@
# library name and version
# Official: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
LIB_NAME=libgpiod-1.6.4
LIB_NAME=libgpiod-1.6.2
PACK_SUFIX=tar.gz
# LingYun source code FTP server