Generate weston.ini dynamically
[AGL/meta-agl.git] / meta-agl / recipes-graphics / wayland / Readme.weston-ini-conf
1 #Generate a weston.ini file:
2
3 To generate the weston.ini file:
4
5 '''
6 [core]
7 backend=desktop-shell.so
8 shell=ivi-shell.so
9 '''
10
11 Just create a Variable Flag:
12
13 '''
14 WESTONCORE[backend]??="drm-backend.so"
15 WESTONCORE[shell]??="desktop-shell.so"
16 '''
17
18 And add it to the Variable Flag WESTONSECTION, with the name of the section:
19 '''
20 WESTONSECTION[WESTONCORE]?="core"
21 '''
22
23 #You can custumize weston.ini by create a weston-ini-conf.bbappend:
24
25 '''
26 WESTONCORE[repaint-window] ??= "34"
27 '''
28
29 This will generate weston.ini file:
30
31 '''
32 [core]
33 backend=desktop-shell.so
34 shell=ivi-shell.so
35 repaint-window=34
36 '''