mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +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" />
|
||||
</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">
|
||||
<description>The Kernel of the PikaScript</description>
|
||||
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
||||
</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">
|
||||
<description>The Kernel of the PikaScript</description>
|
||||
|
@ -94,16 +94,16 @@
|
||||
<require Cclass="PikaScript" Cgroup="PikaScript" Csub="Core" Cversion="1.10.3" />
|
||||
</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">
|
||||
<description>The Kernel of the PikaScript</description>
|
||||
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
||||
</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">
|
||||
<description>The Kernel of the PikaScript</description>
|
||||
|
@ -94,6 +94,12 @@
|
||||
<require Cclass="PikaScript" Cgroup="PikaScript" Csub="Core" Cversion="@VERSION" />
|
||||
</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">
|
||||
<description>The Kernel of the PikaScript</description>
|
||||
<require Cclass="Language Extension" Cgroup="PLOOC" />
|
||||
@ -170,7 +176,7 @@
|
||||
</files>
|
||||
</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>
|
||||
<files>
|
||||
@LVGL_LIB
|
||||
|
@ -50,6 +50,7 @@ def collect(name, groupList: list[Group], subfix=".xml"):
|
||||
formatc = '<file attr="config" category="sourceC" name="%s" />'
|
||||
formath = '<file attr="config" category="header" 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_h = Group("kernalC", "pikascript-core", ".h",
|
||||
@ -58,7 +59,7 @@ kernal_cfg = Group("kernalCfg", "pikascript-core", ".cfg",
|
||||
format=formatcfg)
|
||||
lib_c = Group("libC", "pikascript-lib/PikaStdLib", ".c", format=formatc)
|
||||
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)
|
||||
|
||||
api_c = Group("apiC", "pikascript-api", ".c", format=formatc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user