forked from directfb2/DirectFB2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
58 lines (33 loc) · 1.57 KB
/
INSTALL
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Installation Instructions
=========================
DirectFB2 is built using Meson.
You will also need a C compiler and fluxcomp for converting .flux interface description files to .c files.
With the default build of DirectFB2, only one application can be running (single application core). However you have the
option to use the multi application core which allows multiple applications to run at the same time within a session.
The applications then communicate through a layer called Fusion implemented either completely in user space, or by
relying on the linux-fusion kernel module (which implements the critical parts of Fusion).
To build the single application core:
$ meson setup build/
To build the multi application core with Fusion implemented completely in user space:
$ meson setup -Dmulti=true build/
or with Fusion based on the linux-fusion kernel module:
$ meson setup -Dmulti=true -Dmulti-kernel=true build/
Linux
=====
On Linux, start the build with:
$ meson compile -C build/
And install DirectFB2 using:
$ meson install -C build/
Next, install and run DirectFB applications, such as those available in DirectFB-examples.
NuttX
=====
On NuttX, copy the DirectFB2 directory to your NuttX apps/graphics/ directory.
A defconfig file for the NuttX simulator is available.
It must be placed in a directory nuttx/boards/sim/sim/sim/configs/directfb/
Add a DirectFB application, such as those available in DirectFB-examples.
Configure the simulator:
./tools/configure.sh sim:directfb
And start the build with:
$ make
Run the simulator using:
$ ./nuttx