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

Florian Fainelli florian at openwrt.org
Sun Jan 25 15:08:41 EST 2015

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.
> 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?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list