diff --git a/targets/x86.inc b/targets/x86.inc
index ebefcbfac371dbcac2cd373256354ce72329c950..f090a9e81e6fd6413c778468c8225bec74b147cb 100644
--- a/targets/x86.inc
+++ b/targets/x86.inc
@@ -40,6 +40,9 @@ packages {
 	'kmod-mt7615e',
 }
 
+-- We do not use the ext4 images, so we do not want to build them.
+config('TARGET_ROOTFS_EXT4FS', false)
+
 defaults {
 	factory = '-squashfs-combined',
 	factory_ext = {'.img.gz', '.vmdk', '.vdi'},