diff --git a/targets/generic b/targets/generic
index 0869eb73670a48f0d345567f8d3e77cbfa13e433..e137f602393097b6681a447cee6356809fc734e7 100644
--- a/targets/generic
+++ b/targets/generic
@@ -64,6 +64,7 @@ config('KERNEL_CGROUPS', false)
 config('KERNEL_IP_MROUTE', false)
 config('KERNEL_IPV6_MROUTE', false)
 config('KERNEL_IPV6_SEG6_LWTUNNEL', false)
+config('KERNEL_SWAP', false)
 config('SECCOMP', false)
 config('KERNEL_SECCOMP', false)
 -- kmod-mt7915e pulls in CONFIG_KERNEL_RELAY