summaryrefslogtreecommitdiffstats
path: root/package/kmod
Commit message (Collapse)AuthorAgeFilesLines
* kmod: add patch to fix build failure with old gcc versionsThomas Petazzoni2017-06-071-0/+56
| | | | | | | | | | | | | | | | | | | | When building with old gcc versions (such as gcc 4.3), the current version of kmod fails with: shared/util.c:52: error: expected identifier or '(' before 'do' shared/util.c:52: error: expected identifier or '(' before 'while' This is due to a use of the internal assert_cc() macro outside of a function, while this macro is defined for old gcc versions in a way that cannot be used outside functions. This wasn't noticed by the autobuilders because we don't have such old target compilers. On the host side, we have some autobuilder instances with such old gcc versions, but host-kmod is only used by the linux package, which is never tested by the autobuilders. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2017-03-012-2/+2
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * kmod: bump to version 24Rahul Bedarkar2017-02-262-2/+2
| | | | | | | | | | Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | kmod: workaround for microblaze ld bugWaldemar Brodkorb2017-02-191-0/+6
|/ | | | | | | | | | | | | Add a workaround for a microblaze specific ld bug to avoid segfault. Fixes: http://autobuild.buildroot.net/results/aef1b915ffd3e5678af8682727c22c5618edfd89 [Peter: force --gc-sections configure check to false instead of patching configure] Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: annotate licenses with componentsRahul Bedarkar2016-10-191-2/+2
| | | | | | | | library libkmod.so is licensed under LGPLv2.1+ and kmod tools are licensed under GPLv2+. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kmod: bump version to 23Vicente Olivert Riera2016-07-202-2/+2
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kmod: bump version to 22Peter Korsgaard2015-11-242-2/+2
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: Fix tool links when BR2_ROOTFS_MERGED_USRChris Lesiak2015-10-261-1/+8
| | | | | | | [Peter: use KMOD_BIN_PATH instead of doubling logic, add comment explaining why this is needed] Signed-off-by: Chris Lesiak <chris.lesiak@licor.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: remove unnecessary autoreconfThomas De Schampheleire2015-07-181-2/+0
| | | | | | | | | | Commit 047fea1d4fa33c4c934272a05649907a59186015 removed a patch on kmod that was the reason for autoreconfiguring kmod, but autoreconf itself was not removed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove shell completion at finalize stageMaxime Hadjinlian2015-07-121-4/+0
| | | | | | | | | | | | Instead of doing a removal of the completion file package per package, do it all at the finalize stage so it's done once and for all. Note: This fixes an issue with systemd where passing a --bashcompletiondir or --zshcompletiondir would be evaluated to '.' by the autotools macro. This would create a 'target./' directory. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "kmod: disable --gc-sections ld option when building for xtensa"Max Filippov2015-05-161-5/+0
| | | | | | | | | This reverts commit 55c83179c4b30c9ec715a75297849abd74a63e05. Now that binutils bug with --gc-section is fixed this workaroud is no longer needed. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kmod: needs largefileFabio Porcedda2015-03-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since version 20 it requires largefile support. http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=481ad14550087c77c9df6d117c7a975a38a4ad33 - Disable --disable-largefile. We already had possible bugs in the index implementation if this were passed. It's now fixed, but it's never tested. Disable it. Fix build failure: configure: error: --disable-largefile is not supported by kmod package/pkg-generic.mk:172: recipe for target 'output/build/kmod-20/.stamp_configured' failed Fixes: http://autobuild.buildroot.net/results/f662d9230e4bc2da7dc56a2ffd493cc37254d377// http://autobuild.buildroot.net/results/233ec8ee346e15d41658cffc6bbb4a6c9dd46746// [Thomas: - use two separate 'depends on' conditions for BR2_STATIC_LIBS and BR2_LARGEFILE, like we do in most packages. - take this opportunity to also indicate the dependency on dynamic library in the comment, which was missing until now.] Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kmod: bump version to 20Vicente Olivert Riera2015-03-022-2/+2
| | | | | | | | - Bump version to 20 - Update the hash file Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: install bash-completion files only with bashMaxim Mikityanskiy2015-01-261-0/+4
| | | | | | | | | | | | | | | | | package/systemd, package/kmod, package/util-linux: don't install bash-completion files if bash is not selected to be installed. Otherwise, install bash-completion files. package/systemd: don't install zsh-completion files is zsh is not selected to be installed. Otherwise, install zsh-completion files. package/util-linux: don't install empty /usr/share/bash-completion/completions directory if bash is not going to be installed, and install bash-completion files if bash is selected to be installed. Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* kmod: bump to version 19Vicente Olivert Riera2014-11-184-78/+9
| | | | | | | | | | | | | - Bump to version 19 - Rename 0001 patch to follow the new name convention - Adapt the 0001 patch to the new version - Remove the already-upstreamed 0002 patch - Update the hash value [Thomas: adapt comment in the updated 0001 patch.] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kmod: add hash fileGustavo Zacarias2014-10-161-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: needs to autoreconfGustavo Zacarias2014-10-121-0/+2
| | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/7a7/7a70b179f17070d0a0883f71c60030dd7d8a9102/ Didn't see widespread failure because it autoreconfed on its own just fine if autotools infra was already present. And didn't work before the automake patch with AUTORECONF=YES because of an older gtk-doc.m4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: add patches to support build on RHEL 5Thomas De Schampheleire2014-10-072-0/+117
| | | | | | | | | | | kmod uses certain features not available on older RHEL 5 machines (RedHat Enterprise Linux). This commit adds two patches to fix that. Both patches have been proposed upstream, the second one being accepted, the first rejected with the suggestion to add the patch in Buildroot instead. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-7/+7
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kmod: bump versionPeter Korsgaard2014-06-191-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: python support works with python 3.x as wellPeter Korsgaard2014-04-121-2/+2
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: bump versionPeter Korsgaard2014-04-111-1/+6
| | | | | | And add optional support for the python bindings. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: disable --gc-sections ld option when building for xtensaMax Filippov2014-03-041-0/+5
| | | | | | | | | | | | | | | This is a workaround for the following ld issue exhibited by --gc-sections option, until a proper fix for binutils is ready: ld: BFD (GNU Binutils) 2.22 internal error, aborting at elf32-xtensa.c line 3374 in elf_xtensa_finish_dynamic_sections Fixes: http://autobuild.buildroot.org/results/97d/97d4c96d6f6cdc1ed4007456f4ab70be9dfa41b5/ Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kmod: really pass --disable-manpagesPeter Korsgaard2014-02-091-3/+3
| | | | | | | | | The line below overwrites KMOD_CONF_OPT, so move the --disable-manpages options below. Fixes http://autobuild.buildroot.net/results/842/842131307c171e1bc5a1e918996d53b00ddb1be3/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove support for documentation on targetThomas De Schampheleire2014-02-081-7/+3
| | | | | | | | This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: use if/endif instead of 'depends on' for main symbolThomas De Schampheleire2013-12-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kmod: bump to version 16Axel Lin2013-12-252-61/+1
| | | | | | | | kmod-0001-Add-configure-check-for-_Static_assert.patch is already merged in upstream. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: drop unneeded HOST_<pkg>_AUTORECONF = YESPeter Korsgaard2013-10-041-1/+0
| | | | | | | | Since 97c687000 (pkg-autotools.mk: default host AUTORECONF{,_OPT} to the target values) we automatically enable autoreconf for host builds if it is enabled for the target, so these can go. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kmod: disable manpages for host-kmodPeter Korsgaard2013-09-041-0/+3
| | | | | The manpages are not installed to HOST_DIR anyway, and it errors out if xsltproc isn't available on the host.
* kmod: explicitly define host-kmod dependenciesPeter Korsgaard2013-09-041-0/+1
| | | | | | | | So we don't end up pulling in host-busybox (which doesn't exist) if KMOD_TOOLS is enabled. Reported-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: does not support static buildsThomas Petazzoni2013-09-021-0/+1
| | | | | | | | | | | Since kmod 14, the support for building a static library has been removed completely from kmod. Therefore, we mark kmod as !BR2_PREFER_STATIC_LIB, as well as all its reverse dependencies, which includes the option to use the "udev" /dev management method. [Peter: show comment for udev when BR2_PREFER_STATIC_LIB is enabled] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove references to module-init-toolsPeter Korsgaard2013-09-021-4/+2
| | | | | | Now that it is replaced by kmod. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: allow to build a host variantThomas Petazzoni2013-09-021-1/+12
| | | | | | | | | | | | | | | Since module-init-tools is deprecated, we now want to use kmod instead for the installation of modules during the kernel build process. In order to do this, we need to be able to build a host variant of kmod, which is want this patch allows to do. Note that only the depmod tool is installed on the host, since that's the only one likely to be used on the host in a cross-compilation context. [Peter: needs AUTORECONF for the host as well. Fix comment while we're at it] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: indent properly the KMOD_INSTALL_TOOLS macroThomas Petazzoni2013-09-021-2/+3
| | | | | | | | The KMOD_INSTALL_TOOLS macro uses a non-conventional indentation. This commit fixes this. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: bump to version 15Thomas Petazzoni2013-09-021-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: fix build failure on gcc < 4.6 caused by _Static_assert()Thomas Petazzoni2013-08-282-0/+60
| | | | | | | | | | | | This commit introduces a patch to kmod that ensures _Static_assert() is only used if available. The patch has been submitted upstream. Fixes: http://autobuild.buildroot.net/results/9daf0f46642020591731e20d3bf9041ff6259846/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: bump versionPeter Korsgaard2013-07-032-32/+5
| | | | | | syscall patch is now upstream and static linking is no longer supported. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: adjust license info based on kmod tools selectionDanomi Manchego2013-06-051-2/+9
| | | | | | | | | The libkmod is licensed as LGPL, while the kmod tools are GPL. We always install libkmod, but conditionally install the tools. This patch adjusts the license variables accordingly. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod : protect against architectures without __NR_finit_moduleJeremy Rosen2013-05-291-0/+31
| | | | | | | | | | | This bug caused udev to fail to load any module, crashing with Illegal instruction. The patch was taken from upstream and should be integrated in the next version of kmod (version 14) Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: add license informationSimon Dawson2013-04-151-0/+8
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: bump versionPeter Korsgaard2013-04-121-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: bump versionPeter Korsgaard2012-12-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: don't build documentation if not neededPeter Korsgaard2012-11-081-0/+4
| | | | | | No sense in building it if we throw it away in target-finalize anyway. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: bump to 11Yegor Yefremov2012-11-081-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud