Pārlūkot izejas kodu

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

Rich Felker 9 gadi atpakaļ
vecāks
revīzija
d8d90e3808
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      Makefile

+ 3 - 1
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