add auto-gen comments | git init dromajo dir
This commit is contained in:
@@ -131,12 +131,14 @@ SRCDIR="$(pwd)/toolchains" module_all libgloss --prefix="${RISCV}/riscv64-unknow
|
|||||||
SRCDIR="$(pwd)/toolchains" module_all qemu --prefix="${RISCV}" --target-list=riscv64-softmmu
|
SRCDIR="$(pwd)/toolchains" module_all qemu --prefix="${RISCV}" --target-list=riscv64-softmmu
|
||||||
|
|
||||||
# make Dromajo
|
# make Dromajo
|
||||||
|
git submodule --init $CHIPYARD_DIR/tools/dromajo/dromajo-src
|
||||||
make -C $CHIPYARD_DIR/tools/dromajo/dromajo-src/src
|
make -C $CHIPYARD_DIR/tools/dromajo/dromajo-src/src
|
||||||
|
|
||||||
cd "$RDIR"
|
cd "$RDIR"
|
||||||
|
|
||||||
# create specific env.sh
|
# create specific env.sh
|
||||||
{
|
{
|
||||||
|
echo "# auto-generated by build-toolchains.sh"
|
||||||
echo "export CHIPYARD_TOOLCHAIN_SOURCED=1"
|
echo "export CHIPYARD_TOOLCHAIN_SOURCED=1"
|
||||||
echo "export RISCV=$(printf '%q' "$RISCV")"
|
echo "export RISCV=$(printf '%q' "$RISCV")"
|
||||||
echo "export PATH=\${RISCV}/bin:\${PATH}"
|
echo "export PATH=\${RISCV}/bin:\${PATH}"
|
||||||
@@ -144,5 +146,6 @@ cd "$RDIR"
|
|||||||
} > env-$TOOLCHAIN.sh
|
} > env-$TOOLCHAIN.sh
|
||||||
|
|
||||||
# create general env.sh
|
# create general env.sh
|
||||||
|
echo "# line auto-generated by build-toolchains.sh" >> env.sh
|
||||||
echo "source \$( realpath \$(dirname "\${BASH_SOURCE[0]:-\${\(%\):-%x}}") )/env-$TOOLCHAIN.sh" >> env.sh
|
echo "source \$( realpath \$(dirname "\${BASH_SOURCE[0]:-\${\(%\):-%x}}") )/env-$TOOLCHAIN.sh" >> env.sh
|
||||||
echo "Toolchain Build Complete!"
|
echo "Toolchain Build Complete!"
|
||||||
|
|||||||
@@ -73,4 +73,5 @@ git submodule update --init software/firemarshal
|
|||||||
if [ ! -f $RDIR/software/firemarshal/marshal-config.yaml ]; then
|
if [ ! -f $RDIR/software/firemarshal/marshal-config.yaml ]; then
|
||||||
echo "firesim-dir: '../../sims/firesim/'" > $RDIR/software/firemarshal/marshal-config.yaml
|
echo "firesim-dir: '../../sims/firesim/'" > $RDIR/software/firemarshal/marshal-config.yaml
|
||||||
fi
|
fi
|
||||||
|
echo "# line auto-generated by init-submodules-no-riscv-tools.sh" >> $RDIR/env.sh
|
||||||
echo "PATH=\$( realpath \$(dirname "\${BASH_SOURCE[0]:-\${\(%\):-%x}}") )/software/firemarshal:\$PATH" >> $RDIR/env.sh
|
echo "PATH=\$( realpath \$(dirname "\${BASH_SOURCE[0]:-\${\(%\):-%x}}") )/software/firemarshal:\$PATH" >> $RDIR/env.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user