python3: remove uninitialized variable (build fix)

This patch also prevents the dynamic loading of the rtc_drv when
executed on Linux, which is needed because this version of the rtc_drv
is a hybrid Linux/Genode program.
This commit is contained in:
Norman Feske
2019-02-22 15:33:57 +01:00
parent 65e7ccc662
commit 92bc4f3a83
2 changed files with 8 additions and 11 deletions

View File

@@ -30,7 +30,10 @@ build {
# Generate config
#
set config {
proc rtc_start_attr { } {
if {[have_spec linux]} { return {ld="no"} } else { return "" } }
install_config {
<config verbose="yes">
<parent-provides>
<service name="ROM"/>
@@ -48,7 +51,7 @@ set config {
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer" /></provides>
</start>
<start name="rtc_drv">
<start name="rtc_drv" } [rtc_start_attr] {>
<resource name="RAM" quantum="1M"/>
<provides> <service name="Rtc"/> </provides>
</start>
@@ -103,10 +106,8 @@ print("Hello again")
<libc stdin="/dev/zero" stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
</config>
</start>
</config>
}
</config>}
install_config $config
#
# Boot modules