1PKGDIR ?= ../.. 2L4DIR ?= $(PKGDIR)/../../.. 3 4TARGET = sigma0 5MODE = sigma0 6REQUIRES_LIBS = libc_minimal cxx_util cxx_io cxx_base \ 7 cxx_io_kdebug l4sys-direct l4sys 8DEFINES += -DL4_MINIMAL_LIBC 9DEFAULT_RELOC_x86 := 0x00100000 10DEFAULT_RELOC_amd64 := 0x00100000 11DEFAULT_RELOC_arm := 0x00100000 12DEFAULT_RELOC_arm64 := 0x00100000 13DEFAULT_RELOC_mips := 0x00200000 14DEFAULT_RELOC_sparc := 0x01200000 15DEFAULT_RELOC_ppc32 := 0x00100000 16RELOC_PHYS := y 17 18PRIVATE_INCDIR = $(SRC_DIR) 19 20SRC_CC := init.cc memmap.cc page_alloc.cc mem_man.cc io_backend.cc \ 21 init_mem.cc 22SRC_CC_x86-l4f := ioports_x86.cc 23SRC_CC_amd64-l4f := ioports_x86.cc 24SRC_CC_arm-l4f := ioports_none.cc 25SRC_CC_arm64-l4f := ioports_none.cc 26SRC_CC_mips-l4f := ioports_none.cc 27SRC_CC_ppc32-l4f := ioports_none.cc 28SRC_CC_sparc-l4f := ioports_none.cc 29SRC_C := support.c 30SRC_S := $(addprefix ARCH-$(ARCH)/, crt0.S) 31 32LDFLAGS += -nocrt1 33 34include $(L4DIR)/mk/prog.mk 35 36CXXFLAGS += -DL4_NO_RTTI -fno-rtti -fno-exceptions -Wall 37DEFINES_arm64-l4f += $(if $(CONFIG_KERNEL_CPU_VIRT),-DCONFIG_KERNEL_CPU_VIRT=1) 38