Skip to content

Commit

Permalink
qemuv8: fix to enable Rust by default on x86_64 hosts only
Browse files Browse the repository at this point in the history
Change $(UNAME_M) to $(shell uname -m) to detect host, so that
"RUST_ENABLE" can be correctly set on x86_64 hosts.

Signed-off-by: Bing Zhu <bing.zhu@intel.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org>
  • Loading branch information
bingzhux authored and jforissier committed Aug 28, 2024
1 parent d0f1a7b commit fc2725c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu_v8.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ endif

# Option to enable Rust examples
# Currently supported only on x86_64 hosts
ifeq ($(UNAME_M),x86_64)
ifeq ($(shell uname -m),x86_64)
RUST_ENABLE ?= y
endif

Expand Down

0 comments on commit fc2725c

Please sign in to comment.