From 3b0e6d5c8a09596744a2634028e76aecfcd9db6e Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sun, 14 Jan 2024 04:35:42 +0000 Subject: [PATCH] scripts/build: handle GNUmakefile in addition to Makefile for PKG_TOOLCHAIN=make --- scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build b/scripts/build index 311ba6c5c4..98d6e9c612 100755 --- a/scripts/build +++ b/scripts/build @@ -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"