Skip to content

Commit 1414135

Browse files
committed
ngci/tests: Add -Os builds
1 parent c0f6cc4 commit 1414135

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

etc/configs/opt-for-size-y.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=n
2+
CONFIG_CC_OPTIMIZE_FOR_SIZE=y

etc/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def full_compile_test(args, suite=None):
309309
#########################################
310310
# specific enabled features
311311
#########################################
312-
for feature in ['preempt', 'compat', 'lockdep', 'reltest']:
312+
for feature in ['preempt', 'compat', 'lockdep', 'reltest', 'opt-for-size']:
313313
k(f'ppc64_defconfig+{feature}', image, merge_config=[f'{feature}-y'])
314314
k(f'ppc64le_defconfig+{feature}', image, merge_config=[f'{feature}-y'])
315315

0 commit comments

Comments
 (0)