summaryrefslogtreecommitdiff
path: root/meta/classes/multilib.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* package.bbclass: Ensure task's variable dependencies are correctly caputred ↵Richard Purdie2011-08-311-1/+2
| | | | | | | | | | | in the sstate checksum [YOCTO #1388] This change is needed to correctly add the dependencies for the do_package task which bitbake is unable to automatically detect itself. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.bbclass: add renaming for INITSCRIPT related variablesDongxiao Xu2011-08-261-1/+2
| | | | | | | | | | Initscripts are missing in target image in multilib case. This commit adds the renaming logic for the related variables in multilib.bbclass. This fixes the no response of mouse/keyboard in target system due to the missing of udev startup script. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elementsDongxiao Xu2011-08-261-1/+1
| | | | | | | Add "pkg_postinst" and "pkg_postrm" as renaming elements, which fixes missing post install/rm scripts in target image. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etcDongxiao Xu2011-08-261-10/+8
| | | | | | | | | | | | | | | | | | In the orignal logic, the renaming will not work for "FILES_" if defined variables as: PACKAGES = "${PN}" FILES_abc = "/usr/include/abc.h" It is because ${PN} is "lib64-abc" so it will not be contained in pkgrename. This commit enumerates all element in PACKAGES, getting the original packages and multilib packages, then doing renaming for "FILES_", "RDEPENDS_", etc. This fixes a lot of missing files and incorrect dependencies. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* utils.bbclass/multilib.class: Added misc supporting functions.Lianhao Lu2011-08-151-1/+6
| | | | | | | | | | | | | 1. Added variable MULTILIB_VARIANTS to store all the instance variants for multilib extend. 2. Added function all_multilib_tune_values to collect the variable values for all multilib instance. 3. multilib bbclass handler will save the orignal value of all variables defined in MULTILIB_SAVE_VARNAME. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* multilib: Add support for compiling recipes against multiple ABIsRichard Purdie2011-07-271-0/+89
This patch adds the core multilib class which can be used along with a parameter specifying the mutlilib to use in BBCLASSEXTEND. The MLPREFIX variable is added and can be used in cases where its too difficult to dynmaically work out where a mutltilib prefix is needed to be added to a variable. This includes: * SHLIBSDIR and PACKAGE_ARCH fixes from Lianhao Lu. * PACKAGE_DYNAMIC mapping from Yu Ke * PACKAGE_INSTALL mapping from Yu Ke * RPROVIDES mapping from Yu Ke * TARGET_VENDOR fix from Mark Hatle * Ignorning *-native-runtime dependnecies as well as *-native from Yu Ke * Map PKG and ALLOW_EMPTY from Dongxiao Xu * Ensure RCONFLICTS and PKG field dependencies are remapped (from Dongxiao Xu) * Ensure PN and MLPREFIX are set at the same time to ensure consistent BPN values (Yu Ke) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>