summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* get_version: extract version info with getfilevar_noexec as it should always ↵Mike Frysinger2013-09-291-11/+14
| | | | work, and is much faster than evaluating with make; reported by Doug Anderson from ChromiumOS
* get_version: do not parse KBUILD_OUTPUT in the cases where we do not use it ↵Mike Frysinger2013-09-291-4/+5
| | | | as reported by Doug Anderson from ChromiumOS
* if KERNEL_DIR is pointing to the object output, figure out the source dir ↵Mike Frysinger2013-02-101-2/+9
| | | | and setup KBUILD_OUTPUT automatically #454294 by Łukasz Stelmach
* delete empty depend varsMike Frysinger2013-02-101-4/+1
|
* use emake rather than make to extract variable values #373151 by Kevin PyleMike Frysinger2013-02-101-2/+4
|
* if KV_OUT_DIR is not set, do not let linux_config_src_exists implicitly ↵Mike Frysinger2013-02-101-22/+21
| | | | check /.config #382787 by bay
* handle more kernel versions like 3.7-trunk-amd64 and add a testsuite for itMike Frysinger2013-01-241-6/+9
|
* Fix localRESULT typo in linux_chkconfig_builtin.Zac Medico2013-01-161-3/+3
|
* fix up style -- no tabs after `local`Mike Frysinger2013-01-141-16/+11
|
* Update for new location of version.h. Thanks to Magnus Helmersson. Bug #438876Mike Pagano2012-10-221-2/+9
|
* You must ensure at least one of the version setup functions gets called in ↵Robin H. Johnson2012-06-261-2/+10
| | | | linux-info.eclass before you can use the config functions.
* merge kernel_is updates between kernel-2 and linux-info eclassesMike Frysinger2011-12-121-28/+15
|
* fix random bugs in eclass documentation, and convert to new @AUTHOR tagMike Frysinger2011-08-221-8/+6
|
* eat trailing whitespaceMike Frysinger2011-08-181-4/+4
|
* Fix build with stable release kernels when sources are not available.Diego Elio Pettenò2011-03-291-4/+3
| | | | | Without this change, it will keep the '.y' value appended to KV_PATCH causing kernel_is function to fail. Closes bug #293395.
* Fix a spelling typo.Doug Goldstein2011-01-041-2/+2
|
* Bug #323717 again: Merge patch from Nick Bowler <nbowler@draconx.ca> to ↵Robin H. Johnson2010-08-051-17/+21
| | | | handle localversion differently so that it should work on more kernels. Note that if the kernel.release file is out of date however, it will install modules to the wrong location now.
* Bug #323717: Newer kernels change the build of localversion a lot, so we ↵Robin H. Johnson2010-08-031-10/+17
| | | | need to keep up with the times.
* Add better support for finding out-of-tree builds when searching in /lib/modulesJonathan Callen2010-06-171-2/+8
|
* Factor out the function used to validate the makefile for the extraction method.Robin H. Johnson2010-01-171-14/+20
|
* Merge first part of patch from bug #87242: New warning output method and ↵Robin H. Johnson2010-01-171-2/+3
| | | | support for another assignment type in makefile non-exec parsing.
* Bug #286145: More flexible logic for OUTPUT_DIR defaults.Robin H. Johnson2010-01-101-3/+2
|
* Inside kernel_is, use a non-keyword for the variable name, and quote the ↵Robin H. Johnson2010-01-101-9/+9
| | | | actual check at the end.
* Bug #283320: major change now, as warned about 1 month ago in ↵Robin H. Johnson2010-01-101-17/+4
| | | | http://thread.gmane.org/gmane.linux.gentoo.devel/64125. ALL linux_chkconfig calls MUST be preceeded by a linux_config*exists function. CONFIG_CHECK warning mode (~) no longer requires existence of kernel sources or any configuration. The eclass no longer introduces linux-sources into the dependency tree.
* Bug #300306, #167385: One side effect of the non-exec check version for the ↵Robin H. Johnson2010-01-101-7/+22
| | | | kernel makefile is that it did not pick up appends, breaking builds on some patched kernels. Try the exec version first now, with a fallback.
* Display any configured warning or error message along with the list of ↵Robin H. Johnson2010-01-101-2/+8
| | | | config options when we cannot detect a config.
* Forgot the argument for the nice output of the QA check.Robin H. Johnson2009-12-111-8/+8
|
* Add a QA warning if you call linux_chkconfig* and linux_config* was not called.Robin H. Johnson2009-12-111-4/+32
|
* Better legacy-mode support for linux-info until the migration is completed, ↵Robin H. Johnson2009-12-111-2/+2
| | | | thanks to darkside_ for finding the issue.
* whitespaceMarkus Meier2009-10-111-4/+4
|
* One backwards compatability fix while we are working on checking all ebuilds ↵Robin H. Johnson2009-09-131-2/+4
| | | | for the linux-info change.
* get_version should use linux_config_src_exists to check for source.Robin H. Johnson2009-09-081-2/+2
|
* Typo in the last commit.Robin H. Johnson2009-09-061-2/+2
|
* Bug 28330: Fix two instances where we want any version, not just the sources ↵Robin H. Johnson2009-09-061-3/+4
| | | | version.
* Match the function prototype that allows "-OP" form, which matches the bash ↵Robin H. Johnson2009-09-061-7/+7
| | | | versions.
* Bug 283320: Minor bug from the refactoring.Robin H. Johnson2009-09-061-2/+2
|
* Bug 28330: Provide a function to get the source or running version sanely.Robin H. Johnson2009-09-061-6/+17
|
* Bug #283320: The dependancy for linux-sources now moves into linux-mod, ↵Robin H. Johnson2009-09-061-2/+5
| | | | where it is actually required.
* Bug 283320: Fix minor typo for config.gz. Improve ewarn output, more migration.Robin H. Johnson2009-09-061-4/+5
|
* Make get_version quieter over repeated calls.Robin H. Johnson2009-09-061-15/+30
|
* Bug #283320: Part of the migration work to make linux-info non-fatal. ↵Robin H. Johnson2009-09-061-17/+78
| | | | Currently gets enabled with I_KNOW_WHAT_I_AM_DOING in the env for the .config reading. Also uses the currently running version if no sources at all available.
* Implement a variant of getfilevar that does not use Make to fetch the ↵Robin H. Johnson2009-08-301-14/+46
| | | | variable, and thusly does not fail out due to missing dependancies. Also fix totally broken checks in check_zlibinflate, that called a non-existing function.
* If we need to perform an optional kernel config check, and there are no ↵Robin H. Johnson2009-07-041-1/+7
| | | | configured kernel sources present, just warn the user rather than being totally silent.
* Fix obvious typo in comments. Thanks to zlin for noticing.Peter Alfredsen2009-03-271-2/+2
|
* whitespaceMarkus Meier2009-01-121-2/+2
|
* avoid changing of directory, reported by Tanktalus in bug #229223Daniel Drake2008-12-031-6/+3
|
* Add documentation from Fabio Rossi in bug #217562Daniel Drake2008-10-311-47/+151
|
* move get_version call to more sensible place, thanks to Jakub Moc and Sok ↵Daniel Drake2008-03-211-4/+4
| | | | Ann Yap in bug #213978
* Fix require_kernel_config call thanks to Pacho Ramos in bug #207207Daniel Drake2008-01-231-2/+2
|
* Don't require a configured kernel to detect kernel version, or if all ↵Daniel Drake2008-01-221-29/+66
| | | | CONFIG_CHECK items are prefixed with ~