From 0c8f0c8cb3535974132c9cac18c5f5792c8db841 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 27 Oct 2017 12:45:45 +0800 Subject: [PATCH] disable KERNEL_KALLSYMS to reduce kernel size to fit DW33D --- config/Config-kernel.in | 2 +- target/linux/ar71xx/config-4.9 | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 3468899ad..d7cb2d9fc 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -62,7 +62,7 @@ config KERNEL_PROFILING config KERNEL_KALLSYMS bool "Compile the kernel with symbol table information" - default y if !SMALL_FLASH + default n help This will give you more information in stack traces from kernel oopses. diff --git a/target/linux/ar71xx/config-4.9 b/target/linux/ar71xx/config-4.9 index 190d07df2..6359b3ca2 100644 --- a/target/linux/ar71xx/config-4.9 +++ b/target/linux/ar71xx/config-4.9 @@ -221,8 +221,8 @@ CONFIG_ATH79_MACH_UBNT=y CONFIG_ATH79_MACH_UBNT_UNIFIAC=y CONFIG_ATH79_MACH_UBNT_XM=y CONFIG_ATH79_MACH_WEIO=y -# CONFIG_ATH79_MACH_WI2A_AC200I is not set CONFIG_ATH79_MACH_WHR_HP_G300N=y +# CONFIG_ATH79_MACH_WI2A_AC200I is not set CONFIG_ATH79_MACH_WLAE_AG300N=y CONFIG_ATH79_MACH_WLR8100=y CONFIG_ATH79_MACH_WNDAP360=y @@ -362,6 +362,7 @@ CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_FORCED_THREADING=y CONFIG_IRQ_MIPS_CPU=y CONFIG_IRQ_WORK=y +# CONFIG_KERNEL_KALLSYMS is not set CONFIG_LEDS_GPIO=y # CONFIG_LEDS_WNDR3700_USB is not set CONFIG_LIBFDT=y @@ -379,6 +380,7 @@ CONFIG_MIPS_CLOCK_VSYSCALL=y CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y # CONFIG_MIPS_CMDLINE_FROM_DTB is not set # CONFIG_MIPS_ELF_APPENDED_DTB is not set +CONFIG_MIPS_FPU_EMULATOR=y # CONFIG_MIPS_HUGE_TLB_SUPPORT is not set CONFIG_MIPS_L1_CACHE_SHIFT=5 CONFIG_MIPS_MACHINE=y @@ -484,4 +486,3 @@ CONFIG_SYS_SUPPORTS_ZBOOT_UART_PROM=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_USB_SUPPORT=y CONFIG_USE_OF=y -CONFIG_MIPS_FPU_EMULATOR=y