[OpenWrt-Devel] How to enable EARLY_PRINTK by default on ARM target?

Rafał Miłecki zajec5 at gmail.com
Sun Jan 25 16:03:52 EST 2015


On 25 January 2015 at 21:08, Florian Fainelli <florian at openwrt.org> wrote:
> Le 14/01/2015 22:54, Rafał Miłecki a écrit :
>> I wanted bcm53xx kernels to be compiled with EARLY_PRINTK by default.
>> This is safe, we enable "earlyprintk" using bootargs on tested devices
>> only.
>>
>> So I have config option enabled in default configs:
>>> grep EARLY_PRINTK target/linux/bcm53xx/config-3.1*
>> target/linux/bcm53xx/config-3.14:CONFIG_EARLY_PRINTK=y
>> target/linux/bcm53xx/config-3.18:CONFIG_EARLY_PRINTK=y
>>
>> However it gets overwritten by KERNEL_EARLY_PRINTK defined in
>> config/Config-kernel.in.
>>
>> KERNEL_EARLY_PRINTK:
>> 1) depends on arm - so non-ARM targets are not affected
>> 2) default n - which disables it by default
>
> Would not "default y if TARGET_bcm53xx" achieve what you want here?

Right, already implemented in
https://dev.openwrt.org/changeset/43980/
, thanks.

-- 
Rafał
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list