diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-10-23 19:18:49 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-10-23 19:21:00 -0700 |
commit | d1e4ae577a6d3528d0f6f108771c37938574d29f (patch) | |
tree | b6382e308b72db132d154c6cc95f21961b62c18c /recipes | |
parent | ebaa5e020bfa0a95c49f17a103b731c324e8da20 (diff) | |
download | openembedded-d1e4ae577a6d3528d0f6f108771c37938574d29f.tar.gz |
lzma: use oe.process.run
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/lzma/lzma.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/lzma/lzma.inc b/recipes/lzma/lzma.inc index 1c8eba3ebc..a7b7ad2058 100644 --- a/recipes/lzma/lzma.inc +++ b/recipes/lzma/lzma.inc @@ -18,12 +18,14 @@ CFLAGS += "-c -I${S}" do_unpack_append() { # Replace MS-DOS line-endings with Unix style line-endings - os.system("find ${S} -type f -print0 | xargs -0 sed 's/\r$//' -i") + oe.process.run("find . -type f -print0 | xargs -0 sed 's/\r$//' -i", + cwd=d.getVar("S", True)) } do_patch_append() { # Hack to ensure we use our environment values - os.system("find ${S} -type f -name makefile.gcc -print0 | xargs -0 sed 's/^CXX =/CXX ?=/;s/^CXX_C =/CXX_C ?=/;s/CXX_C/CC/' -i") + oe.process.run("find . -type f -name makefile.gcc -print0 | xargs -0 sed 's/^CXX =/CXX ?=/;s/^CXX_C =/CXX_C ?=/;s/CXX_C/CC/' -i", + cwd=d.getVar("S", True)) } do_compile() { |