1 PKGDIR ?= .. 2 L4DIR ?= $(PKGDIR)/../../.. 3 4 TARGET = exec_region_mapper 5 6 MODE = static 7 8 # Relocate the binary to avoid conflicting with actual payloads. 9 10 DEFAULT_RELOC_x86 := 0xb0000000 11 DEFAULT_RELOC_arm := 0xb0000000 12 DEFAULT_RELOC_arm64 := 0xc0000000 13 DEFAULT_RELOC_ppc32 := 0xb0000000 14 DEFAULT_RELOC_amd64 := 0x70000000 15 DEFAULT_RELOC_mips := 0x70000000 16 17 # Normal source files. 18 19 SRC_CC = region_mapper.cc 20 21 REQUIRES_LIBS = libc libstdc++ libexec libipc 22 PRIVATE_INCDIR = $(IDL_BUILD_DIR) $(IDL_EXPORT_DIR) 23 24 include $(L4DIR)/mk/prog.mk