summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
index 2751b751..ba453a75 100644
--- a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
+++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
@@ -152,7 +152,7 @@ python do_generate_driver_data() {
152 command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] 152 command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]]
153 subprocess.run(command, check = True) 153 subprocess.run(command, check = True)
154 src_file = glob.glob('*_g.c') 154 src_file = glob.glob('*_g.c')
155 if os.path.exists(src_file[0]): 155 if src_file and os.path.exists(src_file[0]):
156 bb.note("Generated config file for driver %s" % driver_name) 156 bb.note("Generated config file for driver %s" % driver_name)
157 command = ["install"] + ["-m"] + ["0755"] + [src_file[0]] + [src_dir[0]] 157 command = ["install"] + ["-m"] + ["0755"] + [src_file[0]] + [src_dir[0]]
158 subprocess.run(command, check = True) 158 subprocess.run(command, check = True)