mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-18 21:21:58 +02:00
node: Enable cross-compiling options and disable dtrace and etw
dtrace and etw are hardly used for embedded usecase Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -99,7 +99,9 @@ do_configure () {
|
||||
export LD="${CXX}"
|
||||
GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
|
||||
# $TARGET_ARCH settings don't match --dest-cpu settings
|
||||
python3 configure.py --prefix=${prefix} --without-snapshot --shared-openssl \
|
||||
python3 configure.py --prefix=${prefix} --cross-compiling --without-snapshot --shared-openssl \
|
||||
--without-dtrace \
|
||||
--without-etw \
|
||||
--dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
|
||||
--dest-os=linux \
|
||||
--libdir=${D}${libdir} \
|
||||
|
||||
Reference in New Issue
Block a user