Quellcode durchsuchen

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 vor 11 Jahren
Ursprung
Commit
c01217fcb0
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  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