From 4bb23da006f050c6014156c9aab675f37dda906a Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 15 Nov 2025 01:48:22 +0800
Subject: [PATCH] update thingsboard and test okay
---
project/modules/makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/project/modules/makefile b/project/modules/makefile
index 1b2a503..dbd9de2 100644
--- a/project/modules/makefile
+++ b/project/modules/makefile
@@ -25,11 +25,14 @@
CFLAGS+=-I${OPENLIBS_INCPATH} -I${TOPDIR}/booster
-all: clean
+all: prelibs clean
@rm -f *.o
${CROSS_COMPILE}gcc ${CFLAGS} -c *.c
${CROSS_COMPILE}ar -rcs lib${LIBNAME}.a *.o
+prelibs:
+ if [ -n "${CROSS_COMPILE}" ] ; then cd ${TOPDIR}/openlibs/libgpiod && ./build.sh ; fi;
+
clean:
@rm -f *.o
@rm -f *.a
--
Gitblit v1.9.1