diff options
-rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb index 3a0b2fd861..1811e975cd 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb | |||
@@ -89,10 +89,9 @@ EXTRA_OEMAKE = "\ | |||
89 | builddir_name=./ \ | 89 | builddir_name=./ \ |
90 | " | 90 | " |
91 | 91 | ||
92 | python do_unpack() { | 92 | python prune_sources() { |
93 | import shutil | 93 | import shutil |
94 | 94 | ||
95 | bb.build.exec_func('base_do_unpack', d) | ||
96 | shutil.rmtree(d.getVar('S') + '/deps/openssl') | 95 | shutil.rmtree(d.getVar('S') + '/deps/openssl') |
97 | if 'ares' in d.getVar('PACKAGECONFIG'): | 96 | if 'ares' in d.getVar('PACKAGECONFIG'): |
98 | shutil.rmtree(d.getVar('S') + '/deps/cares') | 97 | shutil.rmtree(d.getVar('S') + '/deps/cares') |
@@ -105,6 +104,7 @@ python do_unpack() { | |||
105 | if 'zlib' in d.getVar('PACKAGECONFIG'): | 104 | if 'zlib' in d.getVar('PACKAGECONFIG'): |
106 | shutil.rmtree(d.getVar('S') + '/deps/zlib') | 105 | shutil.rmtree(d.getVar('S') + '/deps/zlib') |
107 | } | 106 | } |
107 | do_unpack[postfuncs] += "prune_sources" | ||
108 | 108 | ||
109 | # V8's JIT infrastructure requires binaries such as mksnapshot and | 109 | # V8's JIT infrastructure requires binaries such as mksnapshot and |
110 | # mkpeephole to be run in the host during the build. However, these | 110 | # mkpeephole to be run in the host during the build. However, these |