From ca3fbb56140760520619211f991364a6a6c25e30 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 23 May 2021 14:43:19 +0000 Subject: build system: reserve the file-name Makefile.common for bootstrapping projects. --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index a235b5e..8424799 100755 --- a/configure +++ b/configure @@ -317,6 +317,13 @@ verify_build_directory() fi fi + if [ -f "$mb_pwd/Makefile.common" ]; then + error_msg + error_msg "$mb_package: the file-name Makefile.common is reserved for bootstrapping projects." + error_msg "$mb_package: please remove or rename the file manually and then re-run configure." + exit 1 + fi + rm -f Makefile Makefile.host Makefile.tmp Makefile.failed $mb_makefile output_step_epilog -- cgit v1.2.3