Provide a function in envsetup.sh to get the host arch directly
It's very simple logic, and running get_build_var to do it is slow and has side effects (like needing a lunch target, creating an out directory, etc.) Test: source envsetup.sh Change-Id: If260efd21713874fba7c15dbc0fd23442d776f8a Merged-In: If260efd21713874fba7c15dbc0fd23442d776f8a
This commit is contained in:
@@ -255,6 +255,7 @@ endif
|
||||
HOST_PREBUILT_ARCH := x86
|
||||
# This is the standard way to name a directory containing prebuilt host
|
||||
# objects. E.g., prebuilt/$(HOST_PREBUILT_TAG)/cc
|
||||
# This must match the logic in get_host_prebuilt_prefix in envsetup.sh
|
||||
HOST_PREBUILT_TAG := $(BUILD_OS)-$(HOST_PREBUILT_ARCH)
|
||||
|
||||
# TARGET_COPY_OUT_* are all relative to the staging directory, ie PRODUCT_OUT.
|
||||
|
Reference in New Issue
Block a user