mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
nodejs: no need to stage binaries for target
Target nodejs doesn't depend on nodejs-native to build anymore, so there is no need to stage these binaries. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -174,19 +174,6 @@ do_install_ptest () {
|
|||||||
chown -R root:root ${D}${PTEST_PATH}
|
chown -R root:root ${D}${PTEST_PATH}
|
||||||
}
|
}
|
||||||
|
|
||||||
BINARIES = " \
|
|
||||||
bytecode_builtins_list_generator \
|
|
||||||
${@bb.utils.contains('PACKAGECONFIG', 'icu', 'gen-regexp-special-case', '', d)} \
|
|
||||||
node_mksnapshot \
|
|
||||||
torque \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install:append:class-native() {
|
|
||||||
# Install the native binaries to provide it within sysroot for the target compilation
|
|
||||||
install -d ${D}${bindir}
|
|
||||||
(cd ${S}/out/Release && install ${BINARIES} ${D}${bindir})
|
|
||||||
}
|
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-npm"
|
PACKAGES =+ "${PN}-npm"
|
||||||
FILES:${PN}-npm = "${nonarch_libdir}/node_modules ${bindir}/npm ${bindir}/npx"
|
FILES:${PN}-npm = "${nonarch_libdir}/node_modules ${bindir}/npm ${bindir}/npx"
|
||||||
RDEPENDS:${PN}-npm = "bash python3-core python3-shell python3-datetime \
|
RDEPENDS:${PN}-npm = "bash python3-core python3-shell python3-datetime \
|
||||||
|
|||||||
Reference in New Issue
Block a user