Skip to content
Snippets Groups Projects
Commit 9d323e3c authored by jdh8d's avatar jdh8d
Browse files

PEDI integration with build system.

Former-commit-id: a32132ac
parent 96b1c8c9
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
/clean-all.sh -text /clean-all.sh -text
/get-peasoup-packages.sh -text /get-peasoup-packages.sh -text
/irdb_vars -text /irdb_vars -text
/manifest.txt -text
/postgres_setup.sh -text /postgres_setup.sh -text
/set_command_envs -text /set_command_envs -text
/set_env_vars -text /set_env_vars -text
......
...@@ -19,6 +19,10 @@ mkdir -p $ZEST_RUNTIME/lib64 ...@@ -19,6 +19,10 @@ mkdir -p $ZEST_RUNTIME/lib64
mkdir -p $ZEST_RUNTIME/bin mkdir -p $ZEST_RUNTIME/bin
mkdir -p $ZEST_RUNTIME/sbin mkdir -p $ZEST_RUNTIME/sbin
if [ ! -f manifest.txt.config ]; then
$PEDI_HOME/pedi --setup -m manifest.txt -l ida -l ida_key -l ps -l zipr -l stratafier -l stars -i $PS_INSTALL
fi
# stratafier # stratafier
cd $PEASOUP_UMBRELLA_DIR/stratafier cd $PEASOUP_UMBRELLA_DIR/stratafier
make || exit make || exit
...@@ -111,6 +115,8 @@ scons -j 3|| exit ...@@ -111,6 +115,8 @@ scons -j 3|| exit
cd $PEASOUP_UMBRELLA_DIR cd $PEASOUP_UMBRELLA_DIR
$PEDI_HOME/pedi -m manifest.txt
echo echo
echo echo
echo "peasoup/cfar_umbrella Overall build complete." echo "peasoup/cfar_umbrella Overall build complete."
......
export PGHOST=127.0.0.1 if [ -z $PGHOST ]; then
export PGUSER=$USER export PGHOST=127.0.0.1
export PGPORT=5432 fi
export PGDATABASE=peasoup_$USER if [ -z $PGUSER ]; then
export PGUSER=$USER
fi
if [ -z $PGPORT ]; then
export PGPORT=5432
fi
if [ -z $PGDATABASE ]; then
export PGDATABASE=peasoup_$USER
fi
submanifest security_transforms/manifest.txt
submanifest peasoup_examples/manifest.txt
submanifest idaproCur/manifest.txt
submanifest SMPStaticAnalyzer/manifest.txt
submanifest zipr_install/manifest.txt
submanifest stratafier/manifest.txt
file set_command_envs ps
file set_env_vars ps
file set_ida_server ps
file irdb_vars ps
export PEASOUP_UMBRELLA_DIR=`pwd` export PEASOUP_UMBRELLA_DIR=`pwd`
export PEDI_HOME=$PEASOUP_UMBRELLA_DIR/pedi
export STRATAFIER_OBJCOPY=$PEASOUP_UMBRELLA_DIR/binutils-2.19/binutils/objcopy export STRATAFIER_OBJCOPY=$PEASOUP_UMBRELLA_DIR/binutils-2.19/binutils/objcopy
export TOOLCHAIN=$PEASOUP_UMBRELLA_DIR/diablo_toolchain export TOOLCHAIN=$PEASOUP_UMBRELLA_DIR/diablo_toolchain
export PEASOUP_HOME=$PEASOUP_UMBRELLA_DIR/peasoup_examples export PEASOUP_HOME=$PEASOUP_UMBRELLA_DIR/peasoup_examples
...@@ -19,11 +20,15 @@ export ZIPR_SDK=$PEASOUP_UMBRELLA_DIR/zipr_sdk ...@@ -19,11 +20,15 @@ export ZIPR_SDK=$PEASOUP_UMBRELLA_DIR/zipr_sdk
export ZIPR_SCFI_PLUGIN=$PEASOUP_UMBRELLA_DIR/zipr_scfi_plugin export ZIPR_SCFI_PLUGIN=$PEASOUP_UMBRELLA_DIR/zipr_scfi_plugin
export SECURITY_TRANSFORMS_HOME=$PEASOUP_UMBRELLA_DIR/security_transforms export SECURITY_TRANSFORMS_HOME=$PEASOUP_UMBRELLA_DIR/security_transforms
export IRDB_TRANSFORMS=$PEASOUP_UMBRELLA_DIR/irdb_transforms export IRDB_TRANSFORMS=$PEASOUP_UMBRELLA_DIR/irdb_transforms
export PS=$PEASOUP_HOME/tools/ps_analyze.sh
export PSZ=$PEASOUP_HOME/tools/ps_zipr.sh
export ZEST_RUNTIME=$PEASOUP_UMBRELLA_DIR/zest_runtime export ZEST_RUNTIME=$PEASOUP_UMBRELLA_DIR/zest_runtime
export DAFFY_HOME=$PEASOUP_UMBRELLA_DIR/daffy export DAFFY_HOME=$PEASOUP_UMBRELLA_DIR/daffy
if [ -z $PS_INSTALL ]; then
export PS_INSTALL=$PEASOUP_UMBRELLA_DIR/installed
fi
export PS=$PS_INSTALL/peasoup_examples/tools/ps_analyze.sh
export PSZ=$PS_INSTALL/peasoup_examples/tools/ps_zipr.sh
source ./irdb_vars source ./irdb_vars
source $PEASOUP_UMBRELLA_DIR/set_command_envs source $PEASOUP_UMBRELLA_DIR/set_command_envs
......
...@@ -17,3 +17,4 @@ zipr_large_only_plugin http://svn.zephyr-software.com/repos/zipr_large_only ...@@ -17,3 +17,4 @@ zipr_large_only_plugin http://svn.zephyr-software.com/repos/zipr_large_only
zipr_push64_reloc_plugin http://svn.zephyr-software.com/repos/zipr_push64_reloc_plugin/trunk zipr_push64_reloc_plugin http://svn.zephyr-software.com/repos/zipr_push64_reloc_plugin/trunk
daffy http://svn.zephyr-software.com/repos/daffy/trunk/ daffy http://svn.zephyr-software.com/repos/daffy/trunk/
IdaProServer http://svn.zephyr-software.com/repos/IdaProServer/trunk/ IdaProServer http://svn.zephyr-software.com/repos/IdaProServer/trunk/
pedi http://svn.zephyr-software.com/repos/pedi/trunk/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment