#!/bin/bash

set -e
set -x

which pkg-config

cd yosys

make V=1 -j$CPU_COUNT
make install V=1 -j$CPU_COUNT
cp yosys "$PREFIX/bin/antmicro-yosys"
cp yosys-config "$PREFIX/bin/yosys-config"

$PREFIX/bin/antmicro-yosys -V

#!/bin/bash

set -e
set -x

which pkg-config

cd yosys

make V=1 -j$CPU_COUNT
make PROGRAM_PREFIX="antmicro-" install V=1 -j$CPU_COUNT

$PREFIX/bin/antmicro-yosys -V

Rename yosys binaries by PROGRAM_PREFIX variable
Rename yosys binaries by PROGRAM_PREFIX variable

Signed-off-by: Ryszard Różak <1ade1ffe227a56265536380a12da9fe886326e1e@antmicro.com>
