foboot/hw/bin/litex_term
Sean Cross 9e8bcc3350 lxbuildenv: convert to unix line endings
This should have been done a while ago.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-11 10:34:35 +08:00

15 lines
413 B
Python
Executable File

#!/usr/bin/env python3
import sys
import os
# This script lives in the "bin" directory, but uses a helper script in the parent
# directory. Obtain the current path so we can get the absolute parent path.
script_path = os.path.dirname(os.path.realpath(
__file__)) + os.path.sep + os.path.pardir + os.path.sep
sys.path.insert(0, script_path)
import lxbuildenv
from litex.utils.litex_term import main
main()