2014-10-14 13:18:31 +00:00
|
|
|
LICENSE := GPLv2
|
|
|
|
VERSION := git
|
|
|
|
DOWNLOADS := sel4.git
|
|
|
|
|
|
|
|
URL(sel4) := https://github.com/seL4/seL4.git
|
2018-04-18 09:01:22 +00:00
|
|
|
# master branch, version 9.0.1
|
|
|
|
REV(sel4) := 0dd40b6c43a290173ea7782b97afbbbddfa23b36
|
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)
|
2017-08-17 13:05:58 +00:00
|
|
|
$(call check_python_module,future)
|
|
|
|
$(call check_python_module,tempita)
|
|
|
|
$(call check_python_module,ply)
|
2017-11-08 08:19:08 +00:00
|
|
|
$(call check_python_module,six)
|
2017-06-12 10:41:38 +00:00
|
|
|
|
2017-08-29 19:56:29 +00:00
|
|
|
PATCHES := $(sort $(wildcard $(REP_DIR)/patches/*.patch))
|
2017-06-22 16:47:02 +00:00
|
|
|
|
2019-01-15 14:44:16 +00:00
|
|
|
HASH_INPUT += $(REP_DIR)/patches/imx6q_sabrelite.config
|
2019-01-21 13:21:19 +00:00
|
|
|
HASH_INPUT += $(REP_DIR)/patches/imx7d_sabre.config
|
2018-12-11 09:40:29 +00:00
|
|
|
|
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
|
2017-09-01 11:24:43 +00:00
|
|
|
$(VERBOSE)sed -i "s.^ \*/. \*/\n#ifndef ARCH_IA32\n#define ARCH_IA32\n#endif\n." src/kernel/sel4/configs/pc99/ia32/autoconf.h
|
2019-01-15 14:44:16 +00:00
|
|
|
$(VERBOSE)mkdir -p src/kernel/sel4/configs/imx6/imx6q_sabrelite
|
|
|
|
$(VERBOSE)mv src/kernel/sel4/configs/imx6/autoconf.h src/kernel/sel4/configs/imx6/imx6q_sabrelite/autoconf.h
|
|
|
|
$(VERBOSE)patch -p0 <$(REP_DIR)/patches/imx6q_sabrelite.config
|
2019-01-21 13:21:19 +00:00
|
|
|
$(VERBOSE)mkdir -p src/kernel/sel4/configs/imx7/imx7d_sabre
|
|
|
|
$(VERBOSE)mv src/kernel/sel4/configs/imx7/autoconf.h src/kernel/sel4/configs/imx7/imx7d_sabre/autoconf.h
|
|
|
|
$(VERBOSE)patch -p0 <$(REP_DIR)/patches/imx7d_sabre.config
|