Merge "Disable riscv64 dependency on bcc and ld.mc" am: d2b9ad4eb4
am: 01321a6bb2
Original change: https://android-review.googlesource.com/c/platform/build/+/2448665 Change-Id: I498a9489ef3332f29aba7ffe641103185efa234c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1345,6 +1345,13 @@ else ifdef FULL_BUILD
|
|||||||
$(if $(ALL_MODULES.$(m).INSTALLED),\
|
$(if $(ALL_MODULES.$(m).INSTALLED),\
|
||||||
$(if $(filter-out $(HOST_OUT_ROOT)/%,$(ALL_MODULES.$(m).INSTALLED)),,\
|
$(if $(filter-out $(HOST_OUT_ROOT)/%,$(ALL_MODULES.$(m).INSTALLED)),,\
|
||||||
$(m))))
|
$(m))))
|
||||||
|
ifeq ($(TARGET_ARCH),riscv64)
|
||||||
|
# HACK: riscv64 can't build the device version of bcc and ld.mc due to a
|
||||||
|
# dependency on an old version of LLVM, but they are listed in
|
||||||
|
# base_system.mk which can't add them conditionally based on the target
|
||||||
|
# architecture.
|
||||||
|
_host_modules := $(filter-out bcc ld.mc,$(_host_modules))
|
||||||
|
endif
|
||||||
$(call maybe-print-list-and-error,$(sort $(_host_modules)),\
|
$(call maybe-print-list-and-error,$(sort $(_host_modules)),\
|
||||||
Host modules should be in PRODUCT_HOST_PACKAGES$(comma) not PRODUCT_PACKAGES)
|
Host modules should be in PRODUCT_HOST_PACKAGES$(comma) not PRODUCT_PACKAGES)
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user