summaryrefslogtreecommitdiff
path: root/eclass/redcore-kernel.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/redcore-kernel.eclass')
-rw-r--r--eclass/redcore-kernel.eclass22
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?"