mirror of
https://git.rtems.org/rtems-docs/
synced 2025-10-19 04:00:49 +08:00
build: Prepend project common path
This avoids conflicts with standard packages such as PIL (Python Imaging Library).
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath, exists
|
from os.path import abspath, exists
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure_path, cmd_build_path, cmd_options_path, spell, cmd_spell
|
from waf import cmd_configure_path, cmd_build_path, cmd_options_path, spell, cmd_spell
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build_images as build
|
from waf import cmd_build_images as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as doc_build
|
from waf import cmd_build as doc_build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append(os.path.abspath('../common/'))
|
sys.path.insert(0, os.path.abspath('../common/'))
|
||||||
|
|
||||||
from conf import *
|
from conf import *
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
from sys import path
|
from sys import path
|
||||||
from os.path import abspath
|
from os.path import abspath
|
||||||
path.append(abspath('../common/'))
|
path.insert(0, abspath('../common/'))
|
||||||
|
|
||||||
from waf import cmd_configure as configure
|
from waf import cmd_configure as configure
|
||||||
from waf import cmd_build as build
|
from waf import cmd_build as build
|
||||||
|
Reference in New Issue
Block a user