mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
update the script to generate pdsc
This commit is contained in:
parent
c8e51450c5
commit
c6ca975a04
@ -94,16 +94,16 @@
|
|||||||
<require Cclass="PikaScript" Cgroup="PikaScript" Csub="Core" Cversion="1.10.3" />
|
<require Cclass="PikaScript" Cgroup="PikaScript" Csub="Core" Cversion="1.10.3" />
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
|
<condition id="NO_LVGL_Pack">
|
||||||
|
<description>The existance of the LVGL</description>
|
||||||
|
<!--<deny Cclass="LVGL" Cgroup="lvgl" Cversion="9.0.0-dev" />-->
|
||||||
|
<require condition="Kernel" />
|
||||||
|
</condition>
|
||||||
|
|
||||||
<condition id="PLOOC_Pack">
|
<condition id="PLOOC_Pack">
|
||||||
<description>The Kernel of the PikaScript</description>
|
<description>The Kernel of the PikaScript</description>
|
||||||
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
<condition id="NO_LVGL_Pack">
|
|
||||||
<description>The existance of the LVGL</description>
|
|
||||||
<deny Cclass="LVGL" Cgroup="lvgl" Cversion="9.0.0-dev" />
|
|
||||||
<require condition="Kernel" />
|
|
||||||
</condition>
|
|
||||||
|
|
||||||
<condition id="NO_PLOOC_Pack">
|
<condition id="NO_PLOOC_Pack">
|
||||||
<description>The Kernel of the PikaScript</description>
|
<description>The Kernel of the PikaScript</description>
|
||||||
|
@ -94,16 +94,16 @@
|
|||||||
<require Cclass="PikaScript" Cgroup="PikaScript" Csub="Core" Cversion="1.10.3" />
|
<require Cclass="PikaScript" Cgroup="PikaScript" Csub="Core" Cversion="1.10.3" />
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
|
<condition id="NO_LVGL_Pack">
|
||||||
|
<description>The existance of the LVGL</description>
|
||||||
|
<!--<deny Cclass="LVGL" Cgroup="lvgl" Cversion="9.0.0-dev" />-->
|
||||||
|
<require condition="Kernel" />
|
||||||
|
</condition>
|
||||||
|
|
||||||
<condition id="PLOOC_Pack">
|
<condition id="PLOOC_Pack">
|
||||||
<description>The Kernel of the PikaScript</description>
|
<description>The Kernel of the PikaScript</description>
|
||||||
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
<condition id="NO_LVGL_Pack">
|
|
||||||
<description>The existance of the LVGL</description>
|
|
||||||
<deny Cclass="LVGL" Cgroup="lvgl" Cversion="9.0.0-dev" />
|
|
||||||
<require condition="Kernel" />
|
|
||||||
</condition>
|
|
||||||
|
|
||||||
<condition id="NO_PLOOC_Pack">
|
<condition id="NO_PLOOC_Pack">
|
||||||
<description>The Kernel of the PikaScript</description>
|
<description>The Kernel of the PikaScript</description>
|
||||||
|
@ -94,6 +94,12 @@
|
|||||||
<require Cclass="PikaScript" Cgroup="PikaScript" Csub="Core" Cversion="@VERSION" />
|
<require Cclass="PikaScript" Cgroup="PikaScript" Csub="Core" Cversion="@VERSION" />
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
|
<condition id="NO_LVGL_Pack">
|
||||||
|
<description>The existance of the LVGL</description>
|
||||||
|
<!--<deny Cclass="LVGL" Cgroup="lvgl" Cversion="9.0.0-dev" />-->
|
||||||
|
<require condition="Kernel" />
|
||||||
|
</condition>
|
||||||
|
|
||||||
<condition id="PLOOC_Pack">
|
<condition id="PLOOC_Pack">
|
||||||
<description>The Kernel of the PikaScript</description>
|
<description>The Kernel of the PikaScript</description>
|
||||||
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
||||||
@ -170,7 +176,7 @@
|
|||||||
</files>
|
</files>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cgroup="PikaScript" Csub="pika_lvgl" Cversion="@LVGL_VERSION" condition="Kernel">
|
<component Cgroup="PikaScript" Csub="pika_lvgl" Cversion="@LVGL_VERSION" condition="NO_LVGL_Pack">
|
||||||
<description>The lvgl module for PikaScript</description>
|
<description>The lvgl module for PikaScript</description>
|
||||||
<files>
|
<files>
|
||||||
@LVGL_LIB
|
@LVGL_LIB
|
||||||
|
@ -50,6 +50,7 @@ def collect(name, groupList: list[Group], subfix=".xml"):
|
|||||||
formatc = '<file attr="config" category="sourceC" name="%s" />'
|
formatc = '<file attr="config" category="sourceC" name="%s" />'
|
||||||
formath = '<file attr="config" category="header" name="%s" />'
|
formath = '<file attr="config" category="header" name="%s" />'
|
||||||
formatcfg = '<file attr="config" category="source" name="%s" />'
|
formatcfg = '<file attr="config" category="source" name="%s" />'
|
||||||
|
formatccond = '<file attr="config" category="sourceC" name="%s" condition="NO_LVGL_Pack" />'
|
||||||
|
|
||||||
kernal_c = Group("kernalH", "pikascript-core", ".c")
|
kernal_c = Group("kernalH", "pikascript-core", ".c")
|
||||||
kernal_h = Group("kernalC", "pikascript-core", ".h",
|
kernal_h = Group("kernalC", "pikascript-core", ".h",
|
||||||
@ -58,7 +59,7 @@ kernal_cfg = Group("kernalCfg", "pikascript-core", ".cfg",
|
|||||||
format=formatcfg)
|
format=formatcfg)
|
||||||
lib_c = Group("libC", "pikascript-lib/PikaStdLib", ".c", format=formatc)
|
lib_c = Group("libC", "pikascript-lib/PikaStdLib", ".c", format=formatc)
|
||||||
lib_h = Group("libH", "pikascript-lib/PikaStdLib", ".h", format=formath)
|
lib_h = Group("libH", "pikascript-lib/PikaStdLib", ".h", format=formath)
|
||||||
lvgl_c = Group("libC", "pikascript-lib/pika_lvgl", ".c", format=formatc)
|
lvgl_c = Group("libC", "pikascript-lib/pika_lvgl", ".c", format=formatccond)
|
||||||
lvgl_h = Group("libH", "pikascript-lib/pika_lvgl", ".h", format=formath)
|
lvgl_h = Group("libH", "pikascript-lib/pika_lvgl", ".h", format=formath)
|
||||||
|
|
||||||
api_c = Group("apiC", "pikascript-api", ".c", format=formatc)
|
api_c = Group("apiC", "pikascript-api", ".c", format=formatc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user