setup.sh 603 B

123456789101112131415
  1. NUCLEI_TOOL_ROOT=~/NucleiStudio/toolchain
  2. # Create your setup_config.sh
  3. # and define NUCLEI_TOOL_ROOT like below
  4. # NUCLEI_TOOL_ROOT=~/NucleiStudio_IDE_202310-lin64/NucleiStudio/toolchain
  5. SETUP_CONFIG=setup_config.sh
  6. [ -f $SETUP_CONFIG ] && source $SETUP_CONFIG
  7. [ -f .ci/build_sdk.sh ] && source .ci/build_sdk.sh
  8. [ -f .ci/build_applications.sh ] && source .ci/build_applications.sh
  9. echo "Setup Nuclei SDK Tool Environment"
  10. echo "NUCLEI_TOOL_ROOT=$NUCLEI_TOOL_ROOT"
  11. export PATH=$NUCLEI_TOOL_ROOT/gcc/bin:$NUCLEI_TOOL_ROOT/openocd/bin:$NUCLEI_TOOL_ROOT/qemu/bin:$NUCLEI_TOOL_ROOT/nucleimodel/bin:$PATH