summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3arthur6 <arthur.trouillot@gmail.com>2021-11-14 17:58:05 +0100
committer3arthur6 <arthur.trouillot@gmail.com>2021-11-14 17:58:05 +0100
commitff535d8621a135371d390f4461e5ff38f85a9844 (patch)
tree4052ed4879042656a23109863df2ab4a65f77b11
parent42af24ece8df153d364c7100f122ffc828ebd05c (diff)
downloaddynpart-tools-ff535d8621a135371d390f4461e5ff38f85a9844.tar.gz
dynpart-tools-ff535d8621a135371d390f4461e5ff38f85a9844.tar.bz2
dynpart-tools-ff535d8621a135371d390f4461e5ff38f85a9844.zip
Add lpdump to build list and fix header depencencies
l---------lib/include/jsonpb1
-rwxr-xr-xmake.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/include/jsonpb b/lib/include/jsonpb
new file mode 120000
index 0000000..107718c
--- /dev/null
+++ b/lib/include/jsonpb
@@ -0,0 +1 @@
+../libjsonpb/parse/include/jsonpb/ \ No newline at end of file
diff --git a/make.sh b/make.sh
index 8f1d198..d83d381 100755
--- a/make.sh
+++ b/make.sh
@@ -538,9 +538,12 @@ ${CPP} -std=c++17 -I../lib/include ${CFLAGS} -D_FILE_OFFSET_BITS=64 -o ../bin/lp
${CPP} -std=c++17 -I../lib/include ${CFLAGS} -D_FILE_OFFSET_BITS=64 -o ../bin/lpunpack lpunpack.cc ../lib/lib/liblp.a ../lib/lib/libsparse.a ../lib/lib/libext4_utils.a ../lib/lib/libz.a ../lib/lib/libbase.a ../lib/lib/fmtlib.a ../lib/lib/liblog.a ../lib/lib/libcrypto_utils.a ../lib/lib/libcrypto.a -lpthread ${LDFLAGS}
+${CPP} -std=c++17 -I../lib/include ${CFLAGS} -D_FILE_OFFSET_BITS=64 -o ../bin/lpdump lpdump.cc dynamic_partitions_device_info.pb.cc lpdump_host.cc ../lib/lib/liblp.a ../lib/lib/libsparse.a ../lib/lib/libext4_utils.a ../lib/lib/libz.a ../lib/lib/libbase.a ../lib/lib/fmtlib.a ../lib/lib/liblog.a ../lib/lib/libcrypto_utils.a ../lib/lib/libcrypto.a ../lib/lib/libjsonpbparse.a ../lib/lib/libprotobuf-cpp-full.a -lpthread ${LDFLAGS}
+
cd ..
rm -r lib/lib
$STRIP bin/lpmake
$STRIP bin/lpadd
$STRIP bin/lpflash
$STRIP bin/lpunpack
+$STRIP bin/lpdump