scripts/build: handle GNUmakefile in addition to Makefile for PKG_TOOLCHAIN=make

This commit is contained in:
Rudi Heitbaum committed 2024-01-14 04:39:45 +00:00
1 parent 517875c017
commit 3b0e6d5c8a
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ if [ -z "${PKG_TOOLCHAIN}" -o "${PKG_TOOLCHAIN}" = "auto" ]; then
PKG_TOOLCHAIN="cmake"
elif [ -f "${PKG_CONFIGURE_SCRIPT}" ]; then
PKG_TOOLCHAIN="configure"
elif [ -f "${PKG_BUILD}/Makefile" ]; then
elif [ -f "${PKG_BUILD}/GNUmakefile" -o -f "${PKG_BUILD}/Makefile" ]; then
PKG_TOOLCHAIN="make"
else
die "Not possible to detect toolchain automatically. Add PKG_TOOLCHAIN= to package.mk"