mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
exit with error if bootimage-test=true specified without bootimage=true
This commit is contained in:
parent
9abba8fe24
commit
b351c9d961
8
makefile
8
makefile
@ -97,6 +97,12 @@ ifeq ($(platform),ios)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(bootimage-test),true)
|
||||
ifneq ($(bootimage),true)
|
||||
x := $(error "bootimage-test=true only works when bootimage=true")
|
||||
endif
|
||||
endif
|
||||
|
||||
aot-only = false
|
||||
root := $(shell (cd .. && pwd))
|
||||
build = build/$(platform)-$(arch)$(options)
|
||||
@ -2136,7 +2142,7 @@ $(unittest-executable): $(unittest-executable-objects)
|
||||
|
||||
$(bootimage-generator): $(bootimage-generator-objects) $(vm-objects)
|
||||
echo building $(bootimage-generator) arch=$(build-arch) platform=$(bootimage-platform)
|
||||
$(MAKE) process=interpret bootimage= mode=$(mode)
|
||||
$(MAKE) process=interpret bootimage= bootimage-test= mode=$(mode)
|
||||
$(MAKE) mode=$(mode) \
|
||||
build=$(host-build-root) \
|
||||
arch=$(build-arch) \
|
||||
|
Loading…
Reference in New Issue
Block a user