mirror of
https://github.com/corda/corda.git
synced 2025-06-02 15:40:53 +00:00
default to specified build mode when building the bootimage generator instead of hard-coding it to 'fast'
This commit is contained in:
parent
93142bb952
commit
71ccac1ef7
10
makefile
10
makefile
@ -240,11 +240,13 @@ ifeq ($(heapdump),true)
|
|||||||
cflags += -DAVIAN_HEAPDUMP
|
cflags += -DAVIAN_HEAPDUMP
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
bootimage-mode = $(mode)
|
||||||
|
|
||||||
bootimage-generator-sources = $(src)/bootimage.cpp
|
bootimage-generator-sources = $(src)/bootimage.cpp
|
||||||
bootimage-generator-objects = \
|
bootimage-generator-objects = \
|
||||||
$(call cpp-objects,$(bootimage-generator-sources),$(src),$(native-build))
|
$(call cpp-objects,$(bootimage-generator-sources),$(src),$(native-build))
|
||||||
bootimage-generator = \
|
bootimage-generator = \
|
||||||
$(build)/$(build-platform)-$(build-arch)-compile-fast/bootimage-generator
|
$(build)/$(build-platform)-$(build-arch)-compile-$(bootimage-mode)/bootimage-generator
|
||||||
|
|
||||||
bootimage-bin = $(native-build)/bootimage.bin
|
bootimage-bin = $(native-build)/bootimage.bin
|
||||||
bootimage-object = $(native-build)/bootimage-bin.o
|
bootimage-object = $(native-build)/bootimage-bin.o
|
||||||
@ -470,9 +472,11 @@ else
|
|||||||
endif
|
endif
|
||||||
$(strip) $(strip-all) $(@)
|
$(strip) $(strip-all) $(@)
|
||||||
|
|
||||||
$(bootimage-generator):
|
$(bootimage-generator): make-bootimage-generator
|
||||||
|
|
||||||
|
make-bootimage-generator:
|
||||||
(unset MAKEFLAGS && \
|
(unset MAKEFLAGS && \
|
||||||
make mode=fast process=compile \
|
make mode=$(bootimage-mode) process=compile \
|
||||||
arch=$(build-arch) \
|
arch=$(build-arch) \
|
||||||
platform=$(build-platform) \
|
platform=$(build-platform) \
|
||||||
bootimage-generator= \
|
bootimage-generator= \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user