aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/classes
Commit message (Collapse)AuthorAgeFilesLines
* kernel_wireless_regdb: Add class for embedding regulatory data into older kernelKrzysztof Kozlowski2018-07-051-0/+20
| | | | | | | | | | | | | | | | | | Linux kernels before v4.15, allowed to be compiled with static regulatory database if it was put under net/wireless/db.txt. Add kernel_wireless_regdb class which allows in such cases to embed the wireless regulatory database directly in the Linux kernel during build process. Usage: 1. The class should be inherited by kernel recipe (e.g. in linux-yocto_%.bbappend). 2. For Linux kernels up to v4.14, build kernel with CONFIG_EXPERT and CONFIG_CFG80211_INTERNAL_REGDB. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* waf-samba.bbclass: No longer inherit waf.bbclassJoshua Watt2018-03-011-2/+26
| | | | | | | | | waf-samba.bbclass uses waf in a very different way than the "standard" method that waf.bbclass targets and ends getting very little useful functionality from that class. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* waf-samba: use new oe.utils.parallel_make_argument function instead of ↵Martin Jansa2018-02-161-1/+1
| | | | | | removed get_waf_parallel_make Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* waf-samba.bbclass: redefine WAF_CROSS_ANSWERS_PATHMingli Yu2017-04-261-0/+1
| | | | | | | | | | | | | | | | * Redefine WAF_CROSS_ANSWERS_PATH in waf-samba.bbclass to fix checksum mismatch for those packages which inherit waf-samba.bbclass when install eSDK # bitbake-diffsigs $Prj/build/sdkext_dir/tmp/stamps/core2-64-wrs-linux/libtalloc/2.1.8-r0.do_configure.sigdata.8a0fd2871f1e464f4586c32f0e67378f $Prj/build/tmp/stamps/core2-64-wrs-linux/libtalloc/2.1.8-r0.do_configure.sigdata.16b87e6ddccb52ca5e988e928f111e5a basehash changed from ea2fea38e7efe710a11fa9d13c7ad94c to 943a7ead4ed10ce794532a942569bcf9 Variable WAF_CROSS_ANSWERS_PATH value changed from '$Prj/build/sdkext_dir/layers/meta-networking/files/waf-cross-answers' to '$Prj/layers/meta-openembedded/meta-networking/files/waf-cross-answers' * Remove the previous WAF_CROSS_ANSWERS_PATH definition in layer.conf Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* waf-samba.bbclass: fix build error with PARALLEL_MAKE="-j X -l Y"Andreas Oberritter2017-01-191-2/+2
| | | | | | | | | Waf doesn't handle -l. Use a function already provided by waf.bbclass in OE-Core. Inheriting waf.bbclass also makes overriding DISABLE_STATIC redundant, so drop it from recipes inheriting waf-samba. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* waf-samba.bbclass: Add PACKAGECONFIG_CONFARGS to CONFIGUREOPTSJackie Huang2016-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Add PACKAGECONFIG_CONFARGS to CONFIGUREOPTS for waf-samba.bbclass because the PACKAGECONFIG will not be handled for all recipes after the following commit in oe-core: commit c98fb5f5129e71829ffab4449b3d28082bc95ab4 Author: Martin Jansa <martin.jansa@gmail.com> Date: Tue Aug 30 16:19:58 2016 +0200 base, autotools: Append PACKAGECONFIG_CONFARGS to EXTRA_OECONF only in autotools.bbclass * recipes which don't inherit autotools or cmake bbclass and want to use the configure options from PACKAGECONFIG need to handle PACKAGECONFIG_CONFARGS themselves. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipesAlexander Kanavin2016-06-081-2/+0
| | | | | | | They are no longer required to build python software. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* waf-samba.bbclass: move to meta-networkingJackie Huang2016-04-011-0/+95
The recipes that are using waf-samba were all moved to meta-networking, so move the bbclass and related cross-answers files as well. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>