From: Felix Fietkau Date: Mon, 15 Oct 2018 08:48:58 +0000 (+0200) Subject: kernel: add CONFIG_CC_OPTIMIZE_FOR_* to the default config X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e34ea1b4ff6db504718258cbcc40bdbd730e57a3;p=openwrt%2Fstaging%2Flinusw.git 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 --- diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index 02a8fa623c..97207cf2eb 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 7682e71243..082b529fb7 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 0668f4592b..dce8905928 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 0870bfac91..22fc8fb7e0 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