summaryrefslogtreecommitdiff
path: root/eclass/kernel-build.eclass
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-10-08 17:31:52 +0200
committerDavid Seifert <soap@gentoo.org>2024-10-08 17:31:52 +0200
commitc8af7eb1285a2683460618b71e2e9a14ca6badcd (patch)
tree09f23f2e4455b902bbc3f505b56b7e0433e90d91 /eclass/kernel-build.eclass
parentec9bd064a3b2e495970f49d751d57ca62fa77b84 (diff)
downloadgentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.tar.gz
gentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.tar.bz2
gentoo-c8af7eb1285a2683460618b71e2e9a14ca6badcd.zip
eclass: canonicalize debug-print-function calls
Closes: https://github.com/gentoo/gentoo/pull/37652 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/kernel-build.eclass')
-rw-r--r--eclass/kernel-build.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index dbc41824c4b6..4a2af9845ad4 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -171,7 +171,7 @@ kernel-build_pkg_setup() {
# Prepare the toolchain for building the kernel, get the .config file,
# and get build tree configured for modprep.
kernel-build_src_configure() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
if ! tc-is-cross-compiler && use hppa ; then
if [[ ${CHOST} == hppa2.0-* ]] ; then
@@ -294,7 +294,7 @@ kernel-build_src_configure() {
# @DESCRIPTION:
# Compile the kernel sources.
kernel-build_src_compile() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local targets=( all )
@@ -313,7 +313,7 @@ kernel-build_src_compile() {
# Test the built kernel via qemu. This just wraps the logic
# from kernel-install.eclass with the correct paths.
kernel-build_src_test() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
local targets=( modules_install )
@@ -345,7 +345,7 @@ kernel-build_src_test() {
# Install the built kernel along with subset of sources
# into /usr/src/linux-${KV_FULL}. Install the modules. Save the config.
kernel-build_src_install() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
# do not use 'make install' as it behaves differently based
# on what kind of installkernel is installed
@@ -632,7 +632,7 @@ kernel-build_pkg_postinst() {
#
# This function must be called by the ebuild in the src_prepare phase.
kernel-build_merge_configs() {
- debug-print-function ${FUNCNAME} "${@}"
+ debug-print-function ${FUNCNAME} "$@"
[[ -f .config ]] ||
die "${FUNCNAME}: No .config, please copy default config into .config"