mirror of
https://git.rtems.org/rtems-docs/
synced 2025-06-06 17:02:59 +08:00
build: Prepend project common path
This avoids conflicts with standard packages such as PIL (Python Imaging Library).
This commit is contained in:
parent
0e46b342d0
commit
6f110ccf6b
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build_images as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as doc_build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sys, os
|
||||
sys.path.append(os.path.abspath('../common/'))
|
||||
sys.path.insert(0, os.path.abspath('../common/'))
|
||||
|
||||
from conf import *
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from sys import path
|
||||
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_build as build
|
||||
|
Loading…
x
Reference in New Issue
Block a user