summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod
Commit message (Collapse)AuthorAgeFilesLines
* depmodwrapper-cross: nopackages to avoid QA [buildpaths] issueHongxu Jia2016-02-281-0/+2
| | | | | | | | | | | | | | | This depmodwrapper is a wrapper script to support install-corss, which is invoked at do_rootfs time. So the depmodwrapper-cross should not generate packages. The fix could avoids QA buildpaths issue. [YOCTO #7058] (From OE-Core rev: e469717d324b3aa29f165c7dc242c9d634be168f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: use bash-completion.bbclassGeorge McCollister2016-01-301-3/+2
| | | | | | | | | | Use bash-completion.bbclass to package bash completions. (From OE-Core rev: 4f0716690ff4c7169b07e352df2301e77a3abc03) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade to 22Chen Qi2016-01-151-2/+2
| | | | | | | (From OE-Core rev: ef0b5521c1d292ca0e5be2408ea85fc8d999a459) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Change SRCREV to fix return code in error pathAníbal Limón2015-09-241-1/+1
| | | | | | | | | | | | | | | | | | Systemd is failing trying to load kdbus [1] because kmod have an error in return code when try to insert module [2]. This change of SRCREV is a MINOR one only include the fix described. [YOCTO #8377] [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8377#c0 [2] http://lists.freedesktop.org/archives/systemd-devel/2015-July/033549.html (From OE-Core rev: 24d1ba834e79fa5d625e6fd0890cebfb548dce81) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: fix link creation when base_bindir != /binJoshua Lock2015-09-181-2/+2
| | | | | | | | | | | | | | If base_bindir is not a direct child of / the link creation in do_install_append creates incorrect relative links. Instead pass a full path to the link source too the lnr script to create a relative link. (From OE-Core rev: dc184ace9d72a2d4f8eeec831942663cd3b1fd47) Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* depmodwrapper-cross: set S correctlyRoss Burton2015-07-161-0/+2
| | | | | | | | | This recipe doesn't unpack any source, so set S to ${WORKDIR}. (From OE-Core rev: b82d60aa19ecbe1e4fed6a1ce7077b3d6c620ef4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade to 21Chen Qi2015-06-271-2/+6
| | | | | | | | | | Upgrade kmod to 21. Fix cross compilation problem. (From OE-Core rev: 120983cea780b04a40320b810746ce102cb4cedf) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: remove 0001-Makefile.am-fix-parallel-build-problem.patchRobert Yang2015-04-301-29/+0
| | | | | | | | | Confirmed with the author Qi, it isn't needed. (From OE-Core rev: 6ee6c39df4dea2dcd99cccad771e1326465e96dd) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade to 20Chen Qi2015-04-155-40/+57
| | | | | | | | | | | | | | | | The following patches are rebased. -- Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch -- avoid_parallel_tests.patch The ptest part of kmod is removed because new version of kmod port all tests to use modules from module-playground instead of copying prebuilt modules to the repository. So, we cannot use ptest as before. Remove it so that kmod can build successfully. (From OE-Core rev: f80d136bdd578468035a88125fa1b84973fd912b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Fix depmod for multilibRichard Purdie2015-01-291-6/+6
| | | | | | | | | | | | Using populate_sysroot for this data was a nice idea but flawed as it doesn't work in multilib builds. Instead we can use PKGDATA_DIR since this is consistent over multilib builds. It also turns out to be slightly neater code too. Hopefully this resolves the problem once and for all. (From OE-Core rev: 6cccae3ca54c1177a1d91d23c3e151d74e735ee9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: new PACKAGECONFIG debug and logging to help reduce binary size.Gustavo Sverzut Barbieri2015-01-291-1/+4
| | | | | | | | | | | | | | | debug and logging will make kmod and its library bigger than expected due many strings in the resulting binaries. While these are useful for development, they are of no use for deployment. With them enabled kmod is 154Kb, libkmod is 99Kb. Disabling reduces to kmod 139Kb (10%) and libkmod 83Kb (19%) on i586 stripped. (From OE-Core rev: 907514c1b2d07231eb6ec63d21ad5dc25e731b29) Signed-off-by: Bruno Bottazzini <bruno.bottazzini@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel/image/depmodwrapper: Fixups for depmodRichard Purdie2015-01-231-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | With the rpm package backend enabled, running: bitbake <image> bitbake virtual/kernel -c clean bitbake <image> -c rootfs -f results in an image with incorrect kernel module dependency information. The problem is that the System.map and kernel-abiversion files are needed for depmod and after the recent kernel changes, these are no longer in sstate. Its reasonable to require the kernel to unpack/build if you're about to build a module against it. It is not reasonable to require this just to build a rootfs. Therefore stash the needed files specifically for depmod. Also fix some STAGING_KERNEL_DIR references which were incorrect, found whilst sorting through his change. (From OE-Core rev: b851504dcf5e147c9efb1c7b6a4d22c1a1a87cd7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* depmodwrapper-cross: Update to use STAGING_KERNEL_BUILDDIRRichard Purdie2015-01-171-6/+6
| | | | | | (From OE-Core rev: eaea05c88661a88a89fa6b139f7e6b243155d492) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade to 19Chen Qi2014-12-273-41/+14
| | | | | | | | | | | | | | | | 0001-Add-missing-O_CLOEXEC-in-kmod_module_get_size.patch is dropped as it's in the new version. Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch is modified to match the new version. License chesum is changed but it is confirmed that the license information is not chagned. (From OE-Core rev: 234d61aa89deecf909938bfba39601f79bdcfaee) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: fix debuginfo is missing in shared libraryChong Lu2014-11-042-1/+10
| | | | | | | | | | | | | INHIBIT_PACKAGE_STRIP variable will make debuginfo lose in shared library. The test cases of kmod contain kernel modules for many different architectures, strip and arch gets confused and throws errors. Pack kernel modules in test cases to avoid strip command failed. (From OE-Core rev: 3576399ed163cb3136ee1a2077622035d2033158) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Upgrade to latest gitSaul Wold2014-07-172-2/+30
| | | | | | | | | | Update to version 18 with an additional patch from the git repo to address an issue. (From OE-Core rev: 5a16da19eda60992e094b38ebb185875529b3b4c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: update Upstream-Status for one patchCristiana Voicu2014-05-081-0/+2
| | | | | | | | | | | I will mark Inappropriate because the patch replaces some functions unavailable in older versions of glibc. (From OE-Core rev: fe19e4d13a645efccd778cfd3a7b55fe74498d60) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-1/+1
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade to v17 via gitCristiana Voicu2014-04-232-4/+4
| | | | | | | | | | Just one patch has some small changes because the new code has another fix for unaligned access. (From OE-Core rev: 1d82fb4f1980bbe3c9cf0fffb45702bddda73307) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: fix O_CLOEXEC not supported on old kernelRobert Yang2014-04-012-0/+39
| | | | | | | | | | | | | | | O_CLOEXEC is introduced from Linux 2.6.23, so old kernel doesn't have it, we need check before use. This patch is much more like a workaround, since it may need fcntl() use FD_CLOEXEC to replace. (From OE-Core rev: 44c441222002ee0177100be0431adf91984e90d5) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Update to Rev 16 via gitCristiana Voicu2014-01-064-83/+3
| | | | | | | | | | Two patches are not needed anymore, because the changes are already upstream. (From OE-Core rev: d0e52b125a58c0556087fcdf1673920e63573e7b) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: fix zlib dependencyMartin Jansa2014-01-023-1/+5
| | | | | | | | | | | * unlike BBCLASSEXTENDed native support, dependencies in kmod-native doesn't get automatic -native suffix, so kmod-native was depending on target zlib. * move the dependency from .inc and apply it with right suffix (From OE-Core rev: ef0a1812cd79a68f30da5b2770cd5c566d6ecf0b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing SUMMARY valuesPaul Eggleton2014-01-021-0/+1
| | | | | | | | | | | | These recipes all had a long DESCRIPTION but no SUMMARY; since the SUMMARY is often displayed alone by package managers and the default value ("${PN} version ${PV}") isn't particularly useful, we should always try to set SUMMARY. (From OE-Core rev: db02edd2e9d7645592933cbb25ea0ca4d6561392) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/*: remove unnecessary patchesChong Lu2013-12-101-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] (From OE-Core rev: e5d81f757de4bd1bfd37a96300edd50b77b0d21c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: avoid parallel-testsTudor Florea2013-12-032-4/+7
| | | | | | | | | | | | buildtest-TESTS and runtest-TESTS targets are required by ptest. In order to have those targets in automake 1.13.4, serial-tests should be specified since parallel test is assumed by default and serial-tests is optional. (From OE-Core rev: b7a0e1c351e396af6470e59c428128789295bd96) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Remove PR = r0 from all recipesRichard Purdie2013-10-301-1/+0
| | | | | | | | | | | | | Remove all PR = "r0" from all .bb files in oe-core. This was done with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). (From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Update to Rev 15 via gitSaul Wold2013-10-183-11/+10
| | | | | | | | | Also nail down a previously floating dependancy on zlib, which is required for ptest (From OE-Core rev: e76181535fce8bd4bb63f55106de4d074cae4e06) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Add patch to fix seperate build dir of ptestSaul Wold2013-10-182-0/+35
| | | | | | | (From OE-Core rev: 68322eadd1d9456e606b375c2f4181725784c292) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod-native: use bswap to work on older Linux hostsTing Liu2013-10-142-0/+40
| | | | | | | | | | | | | We can't use htobe* and be*toh functions because they are not available on older versions of glibc, For example, shipped on Centos 5.5. Change to directly calling bswap_* as defined in byteswap.h. (From OE-Core rev: 63edb6b9a8bdf2f5541edd618f2f598185e37223) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: ptest fixesTudor Florea2013-10-073-9/+9
| | | | | | | | | | | | | | | Make kmod-ptest able to compile with separated source and build dir. Since kmod test files contain kernel modules for many different architectures, strip and arch gets confused and throws errors. (From OE-Core rev: 61cb45869caaed6578a217effaa72d247395d078) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: avoid parallel-testsTudor Florea2013-09-102-0/+19
| | | | | | | | | | | Avoid parallel-tests for kmod as it remove buildtest-TESTS and runtest-TESTS targets required by ptest. (From OE-Core rev: e1a3ff7d455889e4c6b899227e8ca1919a443b22) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Upgrade to version 14Khem Raj2013-08-286-43/+60
| | | | | | | | | | The update is a requirement for systemd-206 (From OE-Core rev: faacfeb7cb7bed9ad5eb387d358309a2b1d40f06) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: fix Upstream-statusSaul Wold2013-07-291-1/+1
| | | | | | | (From OE-Core rev: bb5ce373d3ee9b436c075c2ebba9a048389946db) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Add ptestTudor Florea2013-07-244-1/+42
| | | | | | | | | | Install kmod test suite and run it as ptest. (From OE-Core rev: 152c973227e41b7736457b7f8c40849cc71b45ca) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod:add GIT revision to PV variableEmilia Ciobanu2013-07-241-0/+1
| | | | | | | | | | | | | Git packages should have the following format for the PV variable: version_tag+git[r|\-|]?AUTOINC+git_revision Git packages should include git token inside the PV variable. (From OE-Core rev: 70d0938c304cd49e08cbcb28e391e7ace8e666e0) Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* depmodwrapper-cross: Mark as machine specificRichard Purdie2013-03-021-0/+4
| | | | | | | | | | | The kernel and its staging directory are machine specific so the wrapper needs to be as well. Also take the opportunity to remove the default dependencies of the recipe since its a script and doesn't need the cross compiler. This gives the build a little more scheduing freedom. (From OE-Core rev: 1cc2ac769baae19b54184df5f43a3e77c1743c29) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* module.bbclass: Create a new depmodwrapper to assist cross-installsMark Hatle2013-03-011-0/+43
| | | | | | | | | | | | | | | | | Previously the build path to STAGING_KERNEL_DIR was being embedded into the package post install scripts. We avoid this behavior by generating a special depmodwrapper script. This script contains that hard-coded path, ensuring that re-use of the sstate-cache (and/or packages) will always run through the wrapper generated by the current build with a checksum that includes STAGING_KERNEL_DIR. [ YOCTO #3962 ] (From OE-Core rev: b18c61bae4d7161c087a004bba3c696006f7a2f6) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: fix git repo URLEric Bénard2012-11-201-1/+1
| | | | | | | (From OE-Core rev: 156e0fca979585f72323041f8d8aeafcbd43dfc3) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod-native_git.bb: fix builds for hosts with older libcMatthew McClintock2012-08-252-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | kmod will fail to build with the following error because O_CLOEXEC is not defined: | libkmod/libkmod-module.c: In function 'kmod_module_get_initstate': | libkmod/libkmod-module.c:1640: error: 'O_CLOEXEC' undeclared (first use in this function) | libkmod/libkmod-module.c:1640: error: (Each undeclared identifier is reported only once | libkmod/libkmod-module.c:1640: error: for each function it appears in.) | libkmod/libkmod-module.c: In function 'kmod_module_get_refcnt': | libkmod/libkmod-module.c:1754: error: 'O_CLOEXEC' undeclared (first use in this function) | libkmod/libkmod-module.c: In function 'kmod_module_get_sections': | libkmod/libkmod-module.c:1913: error: 'O_CLOEXEC' undeclared (first use in this function) | libkmod/libkmod-file.c: In function 'kmod_file_open': | libkmod/libkmod-file.c:282: error: 'O_CLOEXEC' undeclared (first use in this function) | libkmod/libkmod-file.c:282: error: (Each undeclared identifier is reported only once | libkmod/libkmod-file.c:282: error: for each function it appears in.) Since we are only using kmod-native for depmod, and it's a non-threaded user of this libary being built this should be safe to override O_CLOEXEC. Keep in mind this is ONLY effecting the native builds and not what is being shipped in the root file system. (From OE-Core rev: edcb57fe308979cc5b92359d064e32bb70d4ad76) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Upgrade to upstream version 9.0Radu Moisan2012-08-022-4/+4
| | | | | | | (From OE-Core rev: 9fcbd447e99af5228cccb6a84dd6398c61574caf) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Add missing DEPENDS on pkgconfig-nativeRichard Purdie2012-07-221-0/+2
| | | | | | | | Without this it can't reautoconf or run configure since it depends on pkg-config. (From OE-Core rev: 7673cd498a50f59b0e2954341de0e8c6913d374f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: inherit gtk-doc, gnome-doc-utils-native isn't the package you were ↵Ross Burton2012-07-221-3/+3
| | | | | | | | | looking for (From OE-Core rev: 964b0f39c3ef884eeb4d372924610c29fa2c18f2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Remove bashism from recipeRichard Purdie2012-05-301-1/+1
| | | | | | | | Without this, the installed files get mangled when a dash shell is used. (From OE-Core rev: 59db7976fa870084af19d880e594b0e94678cf19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: use new update-alternativesMark Hatle2012-05-301-21/+18
| | | | | | | (From OE-Core rev: 5879e0d3a2b3a6d000e33cadf4407c38ae1eb1ab) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "kmod: Use base_libdir for installing libkmod"Koen Kooi2012-05-171-2/+2
| | | | | | | | | | The commit breaks pkgconfig and after discussing it with the kmod and udev maintainers the conclusion was reached that putting the libraries in /lib instead of /usr/lib is not supported. This reverts commit 6b74f2461735272bd950a4f060dab6e778a36f92. (From OE-Core rev: 7163ebd92a799b8f000b2b6f303b20de468b5f90) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: fix upgrade path from module-init-toolsMartin Jansa2012-05-091-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PROVIDES does not need _${PN} * CONFLICTS should be RCONFLICTS * opkg needs RREPLACES to automatically remove older module-init-tools instead of just reporting it conflicts with kmod SHR root@gjama ~ $ opkg install kmod Installing kmod (7+git02629fa02e96763db7460a930239cc93649a52f8-r0.0) to root... Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/kmod_7+git02629fa02e96763db7460a930239cc93649a52f8-r0.0_armv4t.ipk. Removing package module-init-tools-depmod from root... update-alternatives: removing //sbin/depmod as no more alternatives exist for it Removing package module-init-tools from root... update-alternatives: Linking //sbin/insmod to ../bin/busybox update-alternatives: Linking //sbin/modprobe to ../bin/busybox update-alternatives: Linking //sbin/rmmod to ../bin/busybox update-alternatives: removing //sbin/modinfo as no more alternatives exist for it update-alternatives: removing //bin/lsmod as no more alternatives exist for it update-alternatives: Linking //sbin/lsmod to ../bin/busybox Configuring kmod. update-alternatives: Linking //sbin/insmod to /sbin/insmod.kmod update-alternatives: Linking //sbin/modprobe to /sbin/modprobe.kmod update-alternatives: Linking //sbin/rmmod to /sbin/rmmod.kmod update-alternatives: Linking //sbin/modinfo to /sbin/modinfo.kmod update-alternatives: Linking //bin/lsmod to /bin/lsmod.kmod update-alternatives: Linking //sbin/lsmod to /bin/lsmod.kmod update-alternatives: Linking //sbin/depmod to /sbin/depmod.kmod (From OE-Core rev: 8de7f8045f28aecfe796afcdb013c557ce9d1372) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Use base_libdir for installing libkmodKhem Raj2012-05-091-1/+1
| | | | | | | | | | | | | This also helps avoid QA errors about binaries accessing contents from /usr/lib Also fixes emptry libkmod problem since now the files are installed in expected place (From OE-Core rev: 6b74f2461735272bd950a4f060dab6e778a36f92) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Update to .8+ releaseKhem Raj2012-05-091-2/+2
| | | | | | | (From OE-Core rev: 8dd0e28809dba8ce6d42c127041c591664c81c59) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: include libkmod also from libdirMartin Jansa2012-05-091-1/+1
| | | | | | | | | | * until it's decided it should be installed in base_libdir or libdir * fixes libkmod packaging (From OE-Core rev: 87249372b4a9951f9e4dc6acece950718382a164) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>