mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-28 19:35:53 +00:00
Added support for loadable modules (aka plugins)
This commit is contained in:
parent
14c097b633
commit
b380af9d6d
4 changed files with 64 additions and 12 deletions
30
yosys-config.in
Normal file
30
yosys-config.in
Normal file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/sh
|
||||
|
||||
help() {
|
||||
{ echo; echo "Usage: $0 { --cxx | --cxxflags | --ldflags | --ldlibs }"; } >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
help
|
||||
fi
|
||||
|
||||
for opt; do
|
||||
case "$opt" in
|
||||
--cxx)
|
||||
echo -n '@CXX@ ' ;;
|
||||
--cxxflags)
|
||||
echo -n '@CXXFLAGS@ ' ;;
|
||||
--ldflags)
|
||||
echo -n '@LDFLAGS@ ' ;;
|
||||
--ldlibs)
|
||||
echo -n '@LDLIBS@ ' ;;
|
||||
--help|-\?)
|
||||
help ;;
|
||||
*)
|
||||
echo -n "$opt "
|
||||
esac
|
||||
done
|
||||
echo
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue