From 46ea2fcc6dc591b3dec7a403dd932b6b04e8941c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Dec 2017 19:30:09 +0000 Subject: redcore-kernel.eclass : drop _firmwares_src_compile stage --- eclass/redcore-kernel.eclass | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'eclass/redcore-kernel.eclass') 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?" -- cgit v1.2.3