Sfoglia il codice sorgente

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 anni fa
parent
commit
c01217fcb0
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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