Skip to content

Commit

Permalink
New line fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogs9 committed Dec 9, 2024
1 parent 75768d5 commit 174df20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/generate_lib/generic/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ BUILD_DIR=$FW_TARGETDIR/build
pushd $FW_TARGETDIR/mcu_ws >/dev/null

rm -rf build install log

colcon build \
--merge-install \
--packages-ignore-regex=.*_cpp \
Expand All @@ -48,8 +48,8 @@ pushd $FW_TARGETDIR/mcu_ws >/dev/null
done ; \
ar rc libmicroros.a $(ls *.o *.obj 2> /dev/null); mkdir -p $BUILD_DIR; cp libmicroros.a $BUILD_DIR; ranlib $BUILD_DIR/libmicroros.a; \
cp -R $FW_TARGETDIR/mcu_ws/install/include $BUILD_DIR/; \
rm $(find $BUILD_DIR/include -type f -not -name "*.h" -not -name "*.hpp") \
rm -rf $(find $BUILD_DIR/include -type d -empty) \
rm $(find $BUILD_DIR/include -type f -not -name "*.h" -not -name "*.hpp"); \
rm -rf $(find $BUILD_DIR/include -type d -empty); \
cd ..; rm -rf libmicroros;

popd >/dev/null

0 comments on commit 174df20

Please sign in to comment.