# Incompatible kernel version after build

**URL:** <https://forum.openwrt.org/t/incompatible-kernel-version-after-build/79211>\
**Category:** For Developers\
**Created:** [November 14, 2020, 8:35am UTC](https://forum.openwrt.org/t/incompatible-kernel-version-after-build/79211 "2020-11-14T08:35:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![vgaetera](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vgaetera/32/113586_2.png) [@vgaetera](https://forum.openwrt.org/u/vgaetera)\
**Post date:** [November 14, 2020, 9:27am UTC](https://forum.openwrt.org/t/incompatible-kernel-version-after-build/79211/4 "2020-11-14T09:27:19Z")

</div>

> [@slh](#):
>
> doing so would involve building the whole archive and all package feeds

Not really, you just need to match the [kmods and kernel options selection](https://github.com/openwrt/openwrt/blob/master/include/kernel-defaults.mk#L108), e.g.:

```bash
curl -o .config \
https://downloads.openwrt.org/releases/19.07.4/targets/x86/64/config.buildinfo
cat << EOF >> .config
CONFIG_PACKAGE_curl=m
...
EOF

```

---

_[View the full topic](https://forum.openwrt.org/t/incompatible-kernel-version-after-build/79211)._
