summaryrefslogtreecommitdiff
path: root/tools/cdk.py
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-08-02 01:33:29 -0400
committerMan, Jianting (Meco) <[email protected]>2022-08-02 23:15:14 -0400
commiteafcdd0bc2e9f1282d100c5b182698a4c9a00b8c (patch)
treeec19b48ae2bc9b8149c4a10b272cc1131b0f0d1b /tools/cdk.py
parentaf82606dd3e2515e123ce567f8693da7daffc7a8 (diff)
[tools] format python code
Diffstat (limited to 'tools/cdk.py')
-rw-r--r--tools/cdk.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/cdk.py b/tools/cdk.py
index 09ac934ad3..89e50839ad 100644
--- a/tools/cdk.py
+++ b/tools/cdk.py
@@ -68,7 +68,7 @@ def _CDKProject(tree, target, script):
for child in root:
if child.tag == 'VirtualDirectory':
root.remove(child)
-
+
for group in script:
group_tree = SDKAddGroup(ProjectFiles, root, group['name'], group['src'], project_path)
@@ -91,8 +91,8 @@ def _CDKProject(tree, target, script):
if CCFLAGS:
CCFLAGS += ' ' + group['CCFLAGS']
else:
- CCFLAGS += group['CCFLAGS']
-
+ CCFLAGS += group['CCFLAGS']
+
# get each group's link flags
if 'LINKFLAGS' in group and group['LINKFLAGS']:
if LINKFLAGS:
@@ -114,7 +114,7 @@ def _CDKProject(tree, target, script):
CC_Misc = tree.find('BuildConfigs/BuildConfig/Compiler/OtherFlags')
CC_Misc.text = CCFLAGS
-
+
LK_Misc = tree.find('BuildConfigs/BuildConfig/Linker/OtherFlags')
LK_Misc.text = LINKFLAGS