Makefile should error if BINARY is set incorrectly
This commit is contained in:
@@ -292,6 +292,11 @@ check-binary:
|
|||||||
ifeq (,$(BINARY))
|
ifeq (,$(BINARY))
|
||||||
$(error BINARY variable is not set. Set it to the simulation binary)
|
$(error BINARY variable is not set. Set it to the simulation binary)
|
||||||
endif
|
endif
|
||||||
|
ifneq (none,$(BINARY))
|
||||||
|
ifeq ("$(wildcard $(BINARY))","")
|
||||||
|
$(error BINARY=$(BINARY) not found)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# allow you to override sim prereq
|
# allow you to override sim prereq
|
||||||
ifeq (,$(BREAK_SIM_PREREQ))
|
ifeq (,$(BREAK_SIM_PREREQ))
|
||||||
|
|||||||
Reference in New Issue
Block a user