genode/repos/base-sel4/lib/mk/spec/x86_32/kernel-sel4-pc.mk

20 lines
535 B
Makefile
Raw Normal View History

2014-10-15 16:11:17 +00:00
SEL4_DIR := $(call select_from_ports,sel4)/src/kernel/sel4
2014-10-14 13:18:31 +00:00
#
# Execute the kernel build only at the second build stage when we know
# about the complete build settings (e.g., the 'CROSS_DEV_PREFIX') and the
# current working directory is the library location.
#
ifeq ($(called_from_lib_mk),yes)
all: build_kernel
else
all:
endif
build_kernel:
$(VERBOSE)$(MAKE) \
TOOLPREFIX=$(CROSS_DEV_PREFIX) \
2017-06-22 16:47:02 +00:00
BOARD=ia32 ARCH=x86 SEL4_ARCH=ia32 PLAT=pc99 DEBUG=1 \
2014-10-14 13:18:31 +00:00
SOURCE_ROOT=$(SEL4_DIR) -f$(SEL4_DIR)/Makefile