[OpenWrt-Devel] [PATCH] [kernel] kernel: add missing symbols for 3.14
blogic at openwrt.org
Thu Oct 16 12:36:38 EDT 2014
On 16/10/2014 17:08, John Szakmeister wrote:
> On Tue, Oct 14, 2014 at 6:59 AM, John Crispin <blogic at openwrt.org> wrote:
>> these should really go into the at91 config file. the CONFIG_AT91_*
>> ones for sure but most likely also the others.
> So I tracked down the real problem. It's in configs/Config-kernel.in:
> ,----[ Config-kernel.in ]-
> | [...]
> | 72 config KERNEL_DEBUG_LL_UART_NONE
> | 73 bool
> | 74 default n
> | 75 depends on arm
> | 76
> | 77 config KERNEL_DEBUG_LL
> | 78 bool
> | 79 default n
> | 80 depends on arm
> | 81 select KERNEL_DEBUG_LL_UART_NONE
> | 82 help
> | 83 ARM low level debugging.
> | [...]
> The issue is that selecting KERNEL_DEBUG_LL then forces
> KERNEL_DEBUG_LL_UART_NONE, which ends up clobbering my configuration.
> Quite honestly, there are many more choices than the ones I was
> interested in, but the depend on specific architectures and whatnot.
> So I think the best course is to do this:
> diff --git a/config/Config-kernel.in b/config/Config-kernel.in
> index 51cc31f..a25aece 100644
> --- a/config/Config-kernel.in
> +++ b/config/Config-kernel.in
> @@ -69,16 +69,10 @@ config KERNEL_DEBUG_INFO
> This will compile your kernel and modules with debug information.
> -config KERNEL_DEBUG_LL_UART_NONE
> - bool
> - default n
> - depends on arm
> config KERNEL_DEBUG_LL
> default n
> depends on arm
> - select KERNEL_DEBUG_LL_UART_NONE
> ARM low level debugging.
> And then platforms configure the setting however they need it. Does
> that seem acceptable?
thanks for the detailed analyses, i will have a look at this tomorrow.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel