summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-02-13 10:18:43 +1100
committerChris Johns <chrisj@rtems.org>2019-02-13 10:18:43 +1100
commit5d8b0ddd0ac055b5edb569f119e8a4c744fd1aae (patch)
tree58735c15172a49cbc567d6132771ebe91fd7b5ec /images
parentec95748f03ca6f45e60e32e3dc5b221cc168d803 (diff)
downloadrtems-docs-5d8b0ddd0ac055b5edb569f119e8a4c744fd1aae.tar.bz2
waf: Remove as many sys path hacks as we can.
There are still sys.path hacks in the conf.py files. They cannot be removed because the instance of python running the sphinx-build command does not see our top level path hacks. I looked at using PYTHONPATH but I could not figure out how to set a process environ var for a waf build instance.
Diffstat (limited to 'images')
-rw-r--r--images/wscript10
1 files changed, 3 insertions, 7 deletions
diff --git a/images/wscript b/images/wscript
index 142b150..179938b 100644
--- a/images/wscript
+++ b/images/wscript
@@ -1,7 +1,3 @@
-from sys import path
-from os.path import abspath
-path.insert(0, abspath('../common/'))
-
-from waf import cmd_configure as configure
-from waf import cmd_build_images as build
-from waf import cmd_options as options
+from common.waf import cmd_configure as configure
+from common.waf import cmd_build_images as build
+from common.waf import cmd_options as options