emsApplication/applications/WebConfigure/cgiCommon/ma.sh

17 lines
241 B
Bash

#!/bin/sh
if [ -f "main.o" ]; then
echo "renew compiled files..."
rm -f main.o
fi
echo "Compiling..."
make -f Makefile.arm
sleep 1
echo "Stripping..."
arm-linux-gnueabihf-strip commonAction
echo "Finish compiling and stripping"