Changed module loading to use arch tuple instead of regular target.module
This commit is contained in:
parent
2a79537ba1
commit
2c20fc2ebf
@ -226,8 +226,8 @@ def set_build_environment_variables(pkg):
|
|||||||
pkg_config_dirs.append(pcdir)
|
pkg_config_dirs.append(pcdir)
|
||||||
path_put_first("PKG_CONFIG_PATH", pkg_config_dirs)
|
path_put_first("PKG_CONFIG_PATH", pkg_config_dirs)
|
||||||
|
|
||||||
if pkg.spec.target.module_name:
|
if pkg.spec.architecture.target.module_name:
|
||||||
load_module(pkg.spec.target.module_name)
|
load_module(pkg.spec.architecture.target.module_name)
|
||||||
|
|
||||||
def set_module_variables_for_package(pkg):
|
def set_module_variables_for_package(pkg):
|
||||||
"""Populate the module scope of install() with some useful functions.
|
"""Populate the module scope of install() with some useful functions.
|
||||||
|
Loading…
Reference in New Issue
Block a user