From e34ea1b4ff6db504718258cbcc40bdbd730e57a3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 15 Oct 2018 10:48:58 +0200 Subject: [PATCH] kernel: add CONFIG_CC_OPTIMIZE_FOR_* to the default config Avoid repeating them in the target config, they are overwritten by top-level menuconfig anyway Signed-off-by: Felix Fietkau --- target/linux/generic/config-4.14 | 2 ++ target/linux/samsung/s5pv210/config-4.14 | 2 -- target/linux/uml/config/i386 | 2 -- target/linux/uml/config/x86_64 | 2 -- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index 02a8fa623c7..97207cf2eb1 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux/generic/config-4.14 @@ -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 diff --git a/target/linux/samsung/s5pv210/config-4.14 b/target/linux/samsung/s5pv210/config-4.14 index 7682e71243f..082b529fb7c 100644 --- a/target/linux/samsung/s5pv210/config-4.14 +++ b/target/linux/samsung/s5pv210/config-4.14 @@ -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 diff --git a/target/linux/uml/config/i386 b/target/linux/uml/config/i386 index 0668f4592bc..dce8905928b 100644 --- a/target/linux/uml/config/i386 +++ b/target/linux/uml/config/i386 @@ -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" diff --git a/target/linux/uml/config/x86_64 b/target/linux/uml/config/x86_64 index 0870bfac918..22fc8fb7e0a 100644 --- a/target/linux/uml/config/x86_64 +++ b/target/linux/uml/config/x86_64 @@ -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 -- 2.30.2