kernel: add CONFIG_CC_OPTIMIZE_FOR_* to the default config
authorFelix Fietkau <nbd@nbd.name>
Mon, 15 Oct 2018 08:48:58 +0000 (10:48 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:06 +0000 (17:48 +0100)
Avoid repeating them in the target config, they are overwritten by
top-level menuconfig anyway

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from e34ea1b4ff6db504718258cbcc40bdbd730e57a3)

target/linux/generic/config-4.14
target/linux/samsung/s5pv210/config-4.14
target/linux/uml/config/i386
target/linux/uml/config/x86_64

index 02a8fa623c736b14da349ad275667a1693530508..97207cf2eb1e2ff9e65f9f630f67af826735cddc 100644 (file)
@@ -717,6 +717,8 @@ CONFIG_CARDBUS=y
 # CONFIG_CB710_CORE is not set
 # CONFIG_CC10001_ADC is not set
 # CONFIG_CCS811 is not set
+CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 # CONFIG_CC_STACKPROTECTOR is not set
 CONFIG_CC_STACKPROTECTOR_NONE=y
 # CONFIG_CC_STACKPROTECTOR_REGULAR is not set
index 06eefd9fb57ed087d0e68049878584c3cc2259cd..5da22bbad7c24f84275c30482e56efe132fdc1e5 100644 (file)
@@ -52,8 +52,6 @@ CONFIG_ARM_VIRT_EXT=y
 CONFIG_ATAGS=y
 CONFIG_AUTO_ZRELADDR=y
 CONFIG_CACHE_L2X0=y
-CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_CLKSRC_SAMSUNG_PWM=y
 CONFIG_CLONE_BACKWARDS=y
index 0668f4592bcf8ab580362bb9e56614f0428cd0d9..dce8905928ba21e5246db2806cecb43d54dd3096 100644 (file)
@@ -15,8 +15,6 @@ CONFIG_BLK_DEV_COW_COMMON=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_UBD=y
 CONFIG_BLK_DEV_UBD_SYNC=y
-CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_CLONE_BACKWARDS=y
 CONFIG_CON_CHAN="xterm"
 CONFIG_CON_ZERO_CHAN="fd:0,fd:1"
index 0870bfac918cfe6195ee71727440e7a314cf6739..22fc8fb7e0afa5fce1e0c2b6bb8e2e1bb947c30f 100644 (file)
@@ -15,8 +15,6 @@ CONFIG_BLK_DEV_COW_COMMON=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_UBD=y
 CONFIG_BLK_DEV_UBD_SYNC=y
-CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_CON_CHAN="xterm"
 CONFIG_CON_ZERO_CHAN="fd:0,fd:1"
 CONFIG_CPU_SUP_AMD=y