summaryrefslogtreecommitdiff
path: root/eclass/linux-mod-r1.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-01 03:24:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-01 03:24:53 +0100
commit51f111b675c30c05f05128be7836616634098bae (patch)
treeb7f220c25531de5f5c9de03553548b7d3bf3178f /eclass/linux-mod-r1.eclass
parent6e479260831a77b38f58e3f572ead93d8327cf18 (diff)
gentoo auto-resync : 01:06:2023 - 03:24:53
Diffstat (limited to 'eclass/linux-mod-r1.eclass')
-rw-r--r--eclass/linux-mod-r1.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass
index 30395c1496f5..233610a7a587 100644
--- a/eclass/linux-mod-r1.eclass
+++ b/eclass/linux-mod-r1.eclass
@@ -349,8 +349,8 @@ linux-mod-r1_pkg_setup() {
# > make-target: Almost always unneeded but, if defaults are not right,
# then can specify the Makefile's target(s) to build the module/extras.
# Multiple targets can be used with spaces, e.g. :"first second".
-# -> Default: specially tries modules, module, <name>.ko, <name>,
-# default, all, empty target, and runs the first found usable
+# -> Default: specially tries modules, module, <name>.ko, default,
+# all, empty target, and runs the first found usable
#
# Missing elements results in defaults being used, e.g. this is valid:
# modlist=( name1 name2=:source name3=install::build )
@@ -406,7 +406,7 @@ linux-mod-r1_src_compile() {
if [[ -z ${mod[3]} ]]; then
# guess between commonly used targets if none given, fallback to
# an empty target without trying to see the error output
- for target in module{s,} "${name}"{.ko,} default all; do
+ for target in module{s,} "${name}".ko default all; do
nonfatal emake "${emakeargs[@]}" -q "${target}" &>/dev/null
if [[ ${?} -eq 1 ]]; then
mod[3]=${target}