# Trying to set kernel build option L3\_Master\_Dev

**URL:** <https://forum.openwrt.org/t/trying-to-set-kernel-build-option-l3-master-dev/76327>\
**Category:** For Developers\
**Created:** [October 9, 2020, 5:43pm UTC](https://forum.openwrt.org/t/trying-to-set-kernel-build-option-l3-master-dev/76327 "2020-10-09T17:43:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheetahfox](https://forum.openwrt.org/user_avatar/forum.openwrt.org/cheetahfox/32/21929_2.png) [@cheetahfox](https://forum.openwrt.org/u/cheetahfox)\
**Post date:** [October 9, 2020, 5:43pm UTC](https://forum.openwrt.org/t/trying-to-set-kernel-build-option-l3-master-dev/76327/1 "2020-10-09T17:43:05Z")

</div>

I feel like I am missing something fundamental in how kernel options are set in OpenWrt.

In the past I have been able to set things like "CONFIG\_KERNEL\_CGROUPS=y" and when I build my target firmware in the kernel .config I see "CONFIG\_CGROUPS=y". My understanding was that if you set CONFIG\_KERNEL\_XXXX it would be passed through to the kernel config as CONFIG\_XXXX.

But I am having issues with getting the following to pass through. "CONFIG\_KERNEL\_NET\_L3\_MASTER\_DEV=y" I see "# CONFIG\_NET\_L3\_MASTER\_DEV is not set" in the .config of the kernel. Clearly I can just set it in the .config, make clean (in the kernel) and rebuild the firmware and get the option into final image. But I don't know why this isn't working the way I thought.

I was hopeful that someone could point me in the right direction. Is there someplace that these "CONFIG\_KERNEL" options are getting processed in the build and not just getting passed directly through to the .config?
