2014-10-14 13:18:31 +00:00
|
|
|
LICENSE := GPLv2
|
|
|
|
VERSION := git
|
|
|
|
DOWNLOADS := sel4.git
|
|
|
|
|
|
|
|
URL(sel4) := https://github.com/seL4/seL4.git
|
2017-06-12 10:41:38 +00:00
|
|
|
# master branch, version 5.2
|
|
|
|
REV(sel4) := 3695232f9603af60d56f97072082d90f30e98b0e
|
2014-10-14 13:18:31 +00:00
|
|
|
DIR(sel4) := src/kernel/sel4
|
2016-06-17 13:15:48 +00:00
|
|
|
|
2017-06-12 10:41:38 +00:00
|
|
|
$(call check_tool,python)
|
|
|
|
|
2016-06-17 13:15:48 +00:00
|
|
|
PATCHES := $(wildcard $(REP_DIR)/patches/*.patch)
|
2017-06-22 16:47:02 +00:00
|
|
|
|
|
|
|
# adjust kernel config usable on qemu and on native hw, and add a 32bit version
|
|
|
|
default: $(DOWNLOADS)
|
|
|
|
$(VERBOSE)mkdir -p src/kernel/sel4/configs/pc99/x86_64
|
|
|
|
$(VERBOSE)mkdir -p src/kernel/sel4/configs/pc99/ia32
|
|
|
|
$(VERBOSE)cp src/kernel/sel4/configs/pc99/autoconf.h src/kernel/sel4/configs/pc99/x86_64/autoconf.h
|
|
|
|
$(VERBOSE)mv src/kernel/sel4/configs/pc99/autoconf.h src/kernel/sel4/configs/pc99/ia32/autoconf.h
|
|
|
|
$(VERBOSE)patch -p0 <$(REP_DIR)/patches/autoconf_32.config
|
|
|
|
$(VERBOSE)patch -p0 <$(REP_DIR)/patches/autoconf_64.config
|
2017-07-04 12:17:38 +00:00
|
|
|
$(VERBOSE)mkdir -p src/kernel/sel4/configs/imx6/wand_quad
|
|
|
|
$(VERBOSE)mv src/kernel/sel4/configs/imx6/autoconf.h src/kernel/sel4/configs/imx6/wand_quad/autoconf.h
|
|
|
|
$(VERBOSE)patch -p0 <$(REP_DIR)/patches/wand_quad.config
|