ref: 07cb68d0a6e0a4dd71787021e57bc59fd3fcc543
parent: 14d7bf0744bfb023544be31f853df71a2b7eebb4
author: gxw <[email protected]>
date: Wed Sep 12 11:25:00 EDT 2018
build/mktargets.py: [loongson] fixed bug that get mipsfiles from cfiles Commit efc8128 get the wrong value of mipsfiles from cfiles. So, fixed it in this commit.
--- a/build/mktargets.py
+++ b/build/mktargets.py
@@ -122,7 +122,7 @@
c = file.split('/')
if 'mips' in c:
mipsfiles.append(file)
- cfiles.remove(file)
+cfiles = [x for x in cfiles if x not in mipsfiles]