From 5fa994b6568ac8b9a97b8460b15dced0fd42ee6f Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 20 Feb 2014 12:13:30 +0100 Subject: [PATCH] linux: disable CONFIG_DEBUG_INFO This options adds a ton of debug symbols leading to *very* large binaries: 5.2M kernel-module-8188eu_3.4.79-r0.8_olinuxino_a20.ipk 4.9M kernel-module-8189es_3.4.79-r0.8_olinuxino_a20.ipk 3.6M kernel-module-8192cu_3.4.79-r0.8_olinuxino_a20.ipk After this change: 244K kernel-module-8188eu_3.4.79-r0.12_olinuxino_a20.ipk 224K kernel-module-8189es_3.4.79-r0.12_olinuxino_a20.ipk 208K kernel-module-8192cu_3.4.79-r0.12_olinuxino_a20.ipk End users don't need such detailed debug symbols. Signed-off-by: Koen Kooi --- recipes-kernel/linux/linux/cubieboard/defconfig | 2 +- recipes-kernel/linux/linux/cubieboard2/defconfig | 2 +- recipes-kernel/linux/linux/cubietruck/defconfig | 2 +- recipes-kernel/linux/linux/mele/defconfig | 2 +- recipes-kernel/linux/linux/meleg/defconfig | 2 +- recipes-kernel/linux/linux/olinuxino-a10s/defconfig | 2 +- recipes-kernel/linux/linux/olinuxino-a13/defconfig | 2 +- recipes-kernel/linux/linux/olinuxino-a20/defconfig | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/recipes-kernel/linux/linux/cubieboard/defconfig b/recipes-kernel/linux/linux/cubieboard/defconfig index 6ae03e3..5435b01 100644 --- a/recipes-kernel/linux/linux/cubieboard/defconfig +++ b/recipes-kernel/linux/linux/cubieboard/defconfig @@ -300,7 +300,7 @@ CONFIG_DEBUG_SHIRQ=y CONFIG_DETECT_HUNG_TASK=y CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n CONFIG_DEBUG_LIST=y CONFIG_BOOT_PRINTK_DELAY=y CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y diff --git a/recipes-kernel/linux/linux/cubieboard2/defconfig b/recipes-kernel/linux/linux/cubieboard2/defconfig index 02ddb1c..e64a39f 100644 --- a/recipes-kernel/linux/linux/cubieboard2/defconfig +++ b/recipes-kernel/linux/linux/cubieboard2/defconfig @@ -3814,7 +3814,7 @@ CONFIG_STACKTRACE=y # CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_HIGHMEM is not set CONFIG_DEBUG_BUGVERBOSE=y -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n # CONFIG_DEBUG_INFO_REDUCED is not set # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_WRITECOUNT is not set diff --git a/recipes-kernel/linux/linux/cubietruck/defconfig b/recipes-kernel/linux/linux/cubietruck/defconfig index 61acaf2..eacda51 100644 --- a/recipes-kernel/linux/linux/cubietruck/defconfig +++ b/recipes-kernel/linux/linux/cubietruck/defconfig @@ -1169,7 +1169,7 @@ CONFIG_DEBUG_SHIRQ=y CONFIG_DETECT_HUNG_TASK=y CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n CONFIG_DEBUG_LIST=y CONFIG_BOOT_PRINTK_DELAY=y CONFIG_RCU_CPU_STALL_INFO=y diff --git a/recipes-kernel/linux/linux/mele/defconfig b/recipes-kernel/linux/linux/mele/defconfig index ff46565..120e636 100644 --- a/recipes-kernel/linux/linux/mele/defconfig +++ b/recipes-kernel/linux/linux/mele/defconfig @@ -2298,7 +2298,7 @@ CONFIG_STACKTRACE=y # CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_HIGHMEM is not set CONFIG_DEBUG_BUGVERBOSE=y -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n # CONFIG_DEBUG_INFO_REDUCED is not set # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_WRITECOUNT is not set diff --git a/recipes-kernel/linux/linux/meleg/defconfig b/recipes-kernel/linux/linux/meleg/defconfig index ff46565..120e636 100644 --- a/recipes-kernel/linux/linux/meleg/defconfig +++ b/recipes-kernel/linux/linux/meleg/defconfig @@ -2298,7 +2298,7 @@ CONFIG_STACKTRACE=y # CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_HIGHMEM is not set CONFIG_DEBUG_BUGVERBOSE=y -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n # CONFIG_DEBUG_INFO_REDUCED is not set # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_WRITECOUNT is not set diff --git a/recipes-kernel/linux/linux/olinuxino-a10s/defconfig b/recipes-kernel/linux/linux/olinuxino-a10s/defconfig index 6086197..544f2c7 100644 --- a/recipes-kernel/linux/linux/olinuxino-a10s/defconfig +++ b/recipes-kernel/linux/linux/olinuxino-a10s/defconfig @@ -251,7 +251,7 @@ CONFIG_DEBUG_SHIRQ=y CONFIG_DETECT_HUNG_TASK=y CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n CONFIG_DEBUG_LIST=y CONFIG_BOOT_PRINTK_DELAY=y CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y diff --git a/recipes-kernel/linux/linux/olinuxino-a13/defconfig b/recipes-kernel/linux/linux/olinuxino-a13/defconfig index 8e34b37..db8e96c 100644 --- a/recipes-kernel/linux/linux/olinuxino-a13/defconfig +++ b/recipes-kernel/linux/linux/olinuxino-a13/defconfig @@ -295,7 +295,7 @@ CONFIG_DEBUG_SHIRQ=y CONFIG_DETECT_HUNG_TASK=y CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n CONFIG_DEBUG_LIST=y CONFIG_BOOT_PRINTK_DELAY=y CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y diff --git a/recipes-kernel/linux/linux/olinuxino-a20/defconfig b/recipes-kernel/linux/linux/olinuxino-a20/defconfig index 505d7d5..18f182e 100644 --- a/recipes-kernel/linux/linux/olinuxino-a20/defconfig +++ b/recipes-kernel/linux/linux/olinuxino-a20/defconfig @@ -1169,7 +1169,7 @@ CONFIG_DEBUG_SHIRQ=y CONFIG_DETECT_HUNG_TASK=y CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y -CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO=n CONFIG_DEBUG_LIST=y CONFIG_BOOT_PRINTK_DELAY=y CONFIG_RCU_CPU_STALL_INFO=y