remove default sh2eb target and error out if TARGET is not set

This commit is contained in:
Rich Felker 2015-11-10 00:18:50 +00:00
parent d2f59c98d6
commit d8d90e3808
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,5 @@
OUTPUT = $(PWD)/output OUTPUT = $(PWD)/output
TARGET = sh2eb-linux-musl
BINUTILS_VER = 2.25.1 BINUTILS_VER = 2.25.1
GCC_VER = 5.2.0 GCC_VER = 5.2.0
@ -32,6 +31,9 @@ MUSL_CONFIG = CC="$(GCC0_CC)" --prefix=
-include config.mak -include config.mak
ifeq ($(TARGET),)
$(error TARGET must be set via config.mak or command line)
endif
all: install_binutils install_musl install_gcc all: install_binutils install_musl install_gcc