summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass')
-rw-r--r--meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
index abd08a5d..76245cf7 100644
--- a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
+++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass
@@ -142,11 +142,6 @@ python do_generate_driver_data() {
142 bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) 142 bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH'))
143 143
144 os.chdir(d.getVar('B')) 144 os.chdir(d.getVar('B'))
145 command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] 145 command = ["lopper"] + ["-f"] + ["-O"] + [src_dir[0]] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]]
146 subprocess.run(command, check = True) 146 subprocess.run(command, check = True)
147 src_file = glob.glob('*_g.c')
148 if src_file and os.path.exists(src_file[0]):
149 bb.note("Generated config file for driver %s" % driver_name)
150 command = ["install"] + ["-m"] + ["0755"] + [src_file[0]] + [src_dir[0]]
151 subprocess.run(command, check = True)
152} 147}