Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support native Arm32 bootstrapping #90

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions mk/arm.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
ARM_EXEC = qemu-arm
ARM_EXEC := $(shell which $(ARM_EXEC))
ifndef ARM_EXEC
$(warning "no qemu-arm found. Please check package installation")
ARM_EXEC = echo WARN: unable to run
ifeq ($(HOST_ARCH),armv7l) # detect ARMv7-A only and assume Linux-compatible
ARM_EXEC :=
else
ARM_EXEC = qemu-arm
ARM_EXEC := $(shell which $(ARM_EXEC))
ifndef ARM_EXEC
$(warning "no qemu-arm found. Please check package installation")
ARM_EXEC = echo WARN: unable to run
endif
endif

export ARM_EXEC
Expand Down
2 changes: 2 additions & 0 deletions mk/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ else
PRINTF = env printf
endif

HOST_ARCH = $(shell arch)

# Control the build verbosity
ifeq ("$(VERBOSE)","1")
Q :=
Expand Down