Skip to content
Merged
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
7 changes: 7 additions & 0 deletions osprey/common/targ_info/Makefile.gbase
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@ LLDLIBS =
# This is useful when cross-compiling the compiler.
#----------------------------------------------------------------------

# If PREGENERATED_TARG_INFO is set, use pre-generated files instead of running generators.
# This is needed when cross-compiling (e.g., building x86_64 on ARM64 via Rosetta/QEMU)
# where the host-tool generators may segfault under emulation.
ifdef PREGENERATED_TARG_INFO
COPYSOURCEDIR = $(PREGENERATED_TARG_INFO)
else
ifeq ($(BUILD_ARCH), MIPS64)
ifeq ($(BUILD_HOST), IA32)
ifeq ($(BUILD_TARGET), SL)
Expand All @@ -216,6 +222,7 @@ endif
else
COPYSOURCEDIR = FALSE
endif
endif

.PHONY: default first last install

Expand Down