Skip to content

Commit

Permalink
linux-info.eclass: Properly return when makefile found
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Pagano <[email protected]>
  • Loading branch information
mpagano committed Sep 4, 2021
1 parent 26302db commit 16277f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eclass/linux-info.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -988,8 +988,8 @@ linux-info_pkg_setup() {
# Order of checking and valid Makefiles names: GNUMakefile, makefile, Makefile
kernel_get_makefile() {

[[ -s ${KV_DIR}/GNUMakefile ]] && KERNEL_MAKEFILE="${KV_DIR}/GNUMakefile"
[[ -s ${KV_DIR}/makefile ]] && KERNEL_MAKEFILE="${KV_DIR}/makefile"
[[ -s ${KV_DIR}/Makefile ]] && KERNEL_MAKEFILE="${KV_DIR}/Makefile"
[[ -s ${KV_DIR}/GNUMakefile ]] && KERNEL_MAKEFILE="${KV_DIR}/GNUMakefile" && return
[[ -s ${KV_DIR}/makefile ]] && KERNEL_MAKEFILE="${KV_DIR}/makefile" && return
[[ -s ${KV_DIR}/Makefile ]] && KERNEL_MAKEFILE="${KV_DIR}/Makefile" && return

}

0 comments on commit 16277f0

Please sign in to comment.