From 981b2c1d9b86f999cc42e07a4abf8647e874f161 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Tue, 14 Oct 2014 23:43:41 +0000 Subject: Add message when i686-pc-mingw32 is used Signed-off-by: Timothy Gu --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 9fa0909..332c520 100644 --- a/Makefile +++ b/Makefile @@ -310,6 +310,9 @@ $(1): | $(if $(value $(1)_DEPS), \ $(addprefix $(PREFIX)/$($(1)_DEPS)/installed/,$(PKGS))))) \ $($(1)_DEPS) @echo '[target] $(1) $(call TARGET_HEADER)' + $(if $(findstring i686-pc-mingw32,$(1)), + $(error Deprecated target specified: "$(1)". Please use \ + i686-w64-mingw32.[$(subst $(space),|,$(MXE_LIB_TYPES))] instead)) $(if $(filter $(1),$(MXE_TARGET_LIST) $(BUILD) $(MXE_TRIPLETS)),, $(error Invalid target specified: "$(1)")) $(if $(findstring 1,$(words $(subst ., ,$(filter-out $(BUILD),$(1))))), -- cgit v0.12