From d8d90e3808c3925e16664ccab59e78d80041023a Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 10 Nov 2015 00:18:50 +0000 Subject: [PATCH] remove default sh2eb target and error out if TARGET is not set --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4970089..6435a18 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ OUTPUT = $(PWD)/output -TARGET = sh2eb-linux-musl BINUTILS_VER = 2.25.1 GCC_VER = 5.2.0 @@ -32,6 +31,9 @@ MUSL_CONFIG = CC="$(GCC0_CC)" --prefix= -include config.mak +ifeq ($(TARGET),) +$(error TARGET must be set via config.mak or command line) +endif all: install_binutils install_musl install_gcc