4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-18 20:32:48 +08:00

[update] Sort the source file path (#5783)

This commit is contained in:
LiuKang 2022-04-08 12:55:05 +08:00 committed by GitHub
parent 28b4db91c3
commit e1ef28a79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -557,6 +557,7 @@ def AddDepend(option):
def MergeGroup(src_group, group):
src_group['src'] = src_group['src'] + group['src']
src_group['src'].sort()
if 'CFLAGS' in group:
if 'CFLAGS' in src_group:
src_group['CFLAGS'] = src_group['CFLAGS'] + group['CFLAGS']