@@ -138,7 +138,7 @@ class SharelibHandler:
|
|||||||
kcfg.writelines(['endmenu\n'])
|
kcfg.writelines(['endmenu\n'])
|
||||||
kcfg.close()
|
kcfg.close()
|
||||||
|
|
||||||
def __gen_ports(self, share_lib_path):
|
def gen_ports(self, share_lib_path):
|
||||||
import json
|
import json
|
||||||
|
|
||||||
init_c_path = os.path.join(os.getcwd(), "gen_ports", "gen_ports_c.c")
|
init_c_path = os.path.join(os.getcwd(), "gen_ports", "gen_ports_c.c")
|
||||||
@@ -269,7 +269,7 @@ class SharelibHandler:
|
|||||||
json.dump(data,f, sort_keys=True, indent=4, separators=(',', ': '))
|
json.dump(data,f, sort_keys=True, indent=4, separators=(',', ': '))
|
||||||
|
|
||||||
if gen_ports:
|
if gen_ports:
|
||||||
self.__gen_ports(share_lib_path)
|
self.gen_ports(share_lib_path)
|
||||||
|
|
||||||
self.update_sharelib(share_lib_path)
|
self.update_sharelib(share_lib_path)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user