-
Notifications
You must be signed in to change notification settings - Fork 46
/
seoul.port
35 lines (31 loc) · 1.07 KB
/
seoul.port
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
LICENSE := GPLv2
VERSION := git
DOWNLOADS := seoul.git
URL(seoul) := https://github.com/alex-ab/seoul.git
# branch genode_24_04
REV(seoul) := b2e969342da47f1cd1a48d8880e00baf9c4fa719
DIR(seoul) := src/app/seoul
#
# We need to execute some python scripts for preparing the i82576vf
# device model.
#
PYTHON3 := $(notdir $(lastword $(shell which python3)))
ifeq ($(PYTHON3),)
default : missing_tool
missing_tool:
$(ECHO) "Error: Seoul needs Python 3 to be installed"
@false;
endif
I82576VF_DIR = src/app/seoul/model/intel82576vf
EXECUTOR_DIR = src/app/seoul/executor
default : additional_steps
additional_steps : $(DOWNLOADS)
echo "call code generators ... takes a while ..." && \
rm -f $(EXECUTOR_DIR)/build_instructions.cache && \
cd $(EXECUTOR_DIR) && \
CROSS_DEV_PREFIX=genode-x86- \
./build_instructions.py > instructions.inc && \
cd $(CURDIR)/$(I82576VF_DIR) && \
./genreg.py reg_pci.py ../../include/model/intel82576vfpci.inc && \
cd $(CURDIR)/$(I82576VF_DIR) && \
./genreg.py reg_mmio.py ../../include/model/intel82576vfmmio.inc