Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
42 lines
867 B
Plaintext
42 lines
867 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
inherit python3native
|
|
|
|
EXTRA_PYTHON_DEPENDS ?= ""
|
|
EXTRA_PYTHON_DEPENDS:class-target = "python3"
|
|
DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}"
|
|
|
|
setup_target_config() {
|
|
export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
|
|
export PYTHONPATH=${STAGING_LIBDIR}/python-sysconfigdata:$PYTHONPATH
|
|
export PATH=${STAGING_EXECPREFIXDIR}/python-target-config/:$PATH
|
|
}
|
|
|
|
do_configure:prepend:class-target() {
|
|
setup_target_config
|
|
}
|
|
|
|
do_compile:prepend:class-target() {
|
|
setup_target_config
|
|
}
|
|
|
|
do_install:prepend:class-target() {
|
|
setup_target_config
|
|
}
|
|
|
|
do_configure:prepend:class-nativesdk() {
|
|
setup_target_config
|
|
}
|
|
|
|
do_compile:prepend:class-nativesdk() {
|
|
setup_target_config
|
|
}
|
|
|
|
do_install:prepend:class-nativesdk() {
|
|
setup_target_config
|
|
}
|