2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or d.getVar('BASELIB', True)}"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
MULTILIB_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}"
|
2024-09-09 08:57:42 +00:00
|
|
|
MULTILIB_SAVE_VARNAME = "DEFAULTTUNE TARGET_ARCH TARGET_SYS"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
MULTILIBS ??= "multilib:lib32"
|
|
|
|
|
|
|
|
STAGING_DIR_HOST = "${STAGING_DIR}/${MLPREFIX}${MACHINE}"
|
|
|
|
STAGING_DIR_TARGET = "${STAGING_DIR}/${MLPREFIX}${MACHINE}"
|
2024-09-09 08:57:42 +00:00
|
|
|
PKGDATA_DIR = "${STAGING_DIR}/${MACHINE}/pkgdata"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
INHERIT += "multilib_global"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
BBCLASSEXTEND_append = " ${MULTILIBS}"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
MULTILIB_GLOBAL_VARIANTS ?= "lib32 lib64 libx32"
|
|
|
|
|
|
|
|
OPKG_ARGS_append = " --force-maintainer --force-overwrite"
|