mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
HAND FIXES: Fix upstream util scripts
This commit is contained in:
committed by
Peter Johnson
parent
1e7604f81c
commit
198771dde4
@@ -8,7 +8,7 @@ Subject: [PATCH 2/4] Update amalgamation script
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/amalgamate.sh b/tools/amalgamate.sh
|
||||
index 2e24e278e54bbc52967bfe1f8970f4f8d4b238d5..4dfe999ee49ee67fd394e948b0bb3133d6acdbdc 100755
|
||||
index 2e24e278e54bbc52967bfe1f8970f4f8d4b238d5..376d1c5d1179784b0246c11d2119e4370f596fec 100755
|
||||
--- a/tools/amalgamate.sh
|
||||
+++ b/tools/amalgamate.sh
|
||||
@@ -74,8 +74,8 @@ echo -e "#endif\n" >> $HEADER
|
||||
@@ -18,7 +18,7 @@ index 2e24e278e54bbc52967bfe1f8970f4f8d4b238d5..4dfe999ee49ee67fd394e948b0bb3133
|
||||
-echo -e "#define MPACK_EMIT_INLINE_DEFS 1\n" >> $SOURCE
|
||||
-echo -e "#include \"mpack.h\"\n" >> $SOURCE
|
||||
+echo -e "#define MPACK_EMIT_INLINE_DEFS 0\n" >> $SOURCE
|
||||
+echo -e "#include \"wpi/mpack.h\"\n" >> $SOURCE
|
||||
+echo -e "#include \"wpi/util/mpack.h\"\n" >> $SOURCE
|
||||
for f in $SOURCES; do
|
||||
echo -e "\n/* $f.c */" >> $SOURCE
|
||||
sed -e 's@^#include ".*@/* & */@' -e '0,/^ \*\/$/d' src/$f >> $SOURCE
|
||||
|
||||
Reference in New Issue
Block a user