mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
7094173ae9
- The top level directory was not scaling, too imposing - Friendlier to download a repo and see a finite number of top level dirs - We are just getting started...
13 lines
352 B
Bash
Executable File
13 lines
352 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if ! which vivado 1>/dev/null; then
|
|
echo ERROR: Vivado not in PATH
|
|
echo 'Try "source /opt/Xilinx/Vivado/201X.X/settings.sh"'
|
|
exit 1
|
|
fi
|
|
|
|
top_srcdir=$(dirname $(readlink -f "$0"))
|
|
top_builddir=$(pwd)
|
|
sed "s|@top_srcdir@|${top_srcdir}|g;s|@top_builddir@|${top_builddir}|g" \
|
|
< $top_srcdir/Makefile.in > $top_builddir/Makefile
|