Changeset 7529


Ignore:
Timestamp:
05/22/11 11:39:05 (11 years ago)
Author:
obi
Message:

[tools] update some makefiles

Location:
tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/grab/make.sh

    • Property svn:executable set to *
    r4899 r7529  
    1 sh4-linux-gcc  -Wall -Os -c readpng.c -o readpng.o
     1STM=$1
    22
    3 sh4-linux-gcc -Os -Wall -ljpeg -lpng -lz readpng.o main.c -o grab
     3if [ -z "$STM" ]; then
     4        echo "error: use ./make.sh <stm22|stm23|stm24>"
     5        exit 1
     6fi
     7cd $HOME/tools/grab
    48
    5 sh4-linux-strip grab
     9"$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-gcc  -Wall -Os -c readpng.c -o readpng.o
     10
     11"$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-gcc -Os -Wall -ljpeg -lpng -lz readpng.o main.c -o grab
     12
     13"$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-strip grab
  • tools/portscan/make.sh

    • Property svn:executable set to *
    r5930 r7529  
    1 sh4-linux-gcc portscan.c -O2 -lpthread -o portscan
    2 sh4-linux-strip portscan
     1STM=$1
     2
     3if [ -z "$STM" ]; then
     4        echo "error: use ./make.sh <stm22|stm23|stm24>"
     5        exit 1
     6fi
     7
     8cd $HOME/tools/portscan
     9
     10"$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-gcc portscan.c -O2 -lpthread -o portscan
     11"$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-strip portscan
Note: See TracChangeset for help on using the changeset viewer.