summaryrefslogtreecommitdiffstats
path: root/rtems.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2023-10-06 09:56:51 +1100
committerChris Johns <chrisj@rtems.org>2023-10-06 09:56:51 +1100
commitf921380bbd36458894f9114c1826fb1e4aee1ea7 (patch)
tree7e931aa9183a394fe9f44d89f5138dce173c6fec /rtems.py
parentAvoid StopIteration exception for non-rtems .pc (diff)
downloadrtems_waf-master.tar.bz2
rtems: Formatting update with yapfHEADmaster
Diffstat (limited to 'rtems.py')
-rw-r--r--rtems.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtems.py b/rtems.py
index a29d281..1566e58 100644
--- a/rtems.py
+++ b/rtems.py
@@ -714,6 +714,7 @@ def output_command_line():
# From the extras. Use this to support long command lines.
#
def long_command_line():
+
def exec_command(self, cmd, **kw):
# workaround for command line length limit:
# http://support.microsoft.com/kb/830473
@@ -864,6 +865,7 @@ def _arch_from_arch_bsp(arch_bsp):
return '-'.join(fields[:(i + 1)])
return None
+
def _bsp_from_arch_bsp(arch_bsp):
fields = arch_bsp.split('-')
for i, field in enumerate(fields):
@@ -871,6 +873,7 @@ def _bsp_from_arch_bsp(arch_bsp):
return '-'.join(fields[(i + 1):])
return None
+
def _pkgconfig_path(path):
return os.path.join(path, 'lib', 'pkgconfig')