浏览代码

target/linux/config: allow for building kernel with -Os

As this is potentially preferred on an embedded system, make it the
default.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter 11 年之前
父节点
当前提交
c01217fcb0
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      target/linux/config/Config.in.kernel

+ 5 - 0
target/linux/config/Config.in.kernel

@@ -189,4 +189,9 @@ config ADK_KERNEL_PREEMPT
 	boolean
 	default n
 
+config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
+	prompt "Optimize for size"
+	boolean
+	default y
+
 endmenu