summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* kernel-build.eclass: Set @PROVIDESMichał Górny2021-09-021-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: add cpio to BDEPENDDavid Michael2021-06-221-0/+1
| | | | | | | | | When CONFIG_IKHEADERS is set, a script is run that requires cpio to be installed. The default config files enable this setting. Closes: https://bugs.gentoo.org/797613 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Do not pass INSTALL_PATH in src_testMichał Górny2021-06-161-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Enable py3.10Michał Górny2021-06-161-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Depend on PythonMichał Górny2021-02-181-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Use pythonMichał Górny2021-02-181-1/+3
| | | | | Closes: https://bugs.gentoo.org/771207 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dist-kernel-utils.eclass: Introduce eclass for helper functionsMichał Górny2021-01-131-3/+3
| | | | | | | | | | | | Move some of the utility functions from kernel-install.eclass into dist-kernel-utils.eclass, in order to permit using them without having all kernel-install phases exported. This will be used in order to support rebuilding initramfs in sys-fs/zfs-kmod. Since the eclasses are used only by dist-kernel project eclasses and ebuilds, update the function prefix while moving them. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Support merging config filesMichał Górny2020-11-141-0/+32
| | | | | | | Add a convenience function to merge kernel config files from within the build tree, and support merging user configs. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/kernel-build.eclass: don't strip ppc64 kernelsGeorgy Yakovlev2020-08-281-0/+3
| | | | | | it breaks external module builds Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/kernel-build.eclass: copy module.lds linker scriptGeorgy Yakovlev2020-08-231-0/+5
| | | | | | | | | | without it it's impossible to build external kernel modules on some arches (zfs-kmod on arm64 for example) Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/17225 Closes: https://bugs.gentoo.org/737302 Signed-off-by: Sam James <sam@gentoo.org>
* kernel-{build,install}.eclass: support Kconfig LOCALVERSIONDavid GUGLIELMI2020-06-291-11/+18
| | | | | | Signed-off-by: David GUGLIELMI <david.guglielmi@gmail.com> Closes: https://bugs.gentoo.org/720930 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: add req'd tools to BDEPENDmatoro2020-06-241-1/+3
| | | | | Closes: https://github.com/gentoo/gentoo/pull/16326 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/kernel-build.eclass: fix messed up dtbs_installAlexey Shvetsov2020-05-221-8/+4
| | | | | Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-{build,install}.eclass: more ARM supportAlexey Shvetsov2020-05-211-2/+17
| | | | | Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: permit savedconfig without predef .configAlexey Shvetsov2020-05-211-1/+1
| | | | | Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Build logic for dist-kernelsMichał Górny2020-01-091-0/+175
Introduce a new eclass that contains common logic for building distribution kernels from source. Signed-off-by: Michał Górny <mgorny@gentoo.org>