diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-22 19:30:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-22 19:30:09 +0000 |
commit | 46ea2fcc6dc591b3dec7a403dd932b6b04e8941c (patch) | |
tree | 804a1363c13df492d16fa5be1b7a8cc9d48cddd4 /eclass | |
parent | 1ed552bc8efa964ab0d69a65e609fb04ab83a1c4 (diff) |
redcore-kernel.eclass : drop _firmwares_src_compile stage
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/redcore-kernel.eclass | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/eclass/redcore-kernel.eclass b/eclass/redcore-kernel.eclass index 3b598a0c..a12e2222 100644 --- a/eclass/redcore-kernel.eclass +++ b/eclass/redcore-kernel.eclass @@ -379,11 +379,7 @@ _update_depmod() { } redcore-kernel_pkg_setup() { - if [ -n "${K_FIRMWARE_PACKAGE}" ]; then - einfo "Preparing kernel firmwares" - else - einfo "Preparing kernel and its modules" - fi + einfo "Preparing kernel and its modules" } redcore-kernel_src_unpack() { @@ -415,27 +411,13 @@ redcore-kernel_src_prepare() { } redcore-kernel_src_compile() { - if [ -n "${K_FIRMWARE_PACKAGE}" ]; then - _firmwares_src_compile - elif [ -n "${K_ONLY_SOURCES}" ]; then + if [ -n "${K_ONLY_SOURCES}" ]; then kernel-2_src_compile else _kernel_src_compile fi } -_firmwares_src_compile() { - einfo "Starting to compile firmwares..." - _kernel_copy_config "${S}/.config" - cd "${S}" || die "cannot find source dir" - - export LDFLAGS="" - OLDARCH="${ARCH}" - unset ARCH - emake firmware || die "cannot compile firmwares" - ARCH="${OLDARCH}" -} - _kernel_copy_config() { _is_config_file_set \ || die "Kernel configuration file not set. Was redcore-kernel_src_prepare() called?" |