hotfix for "zephyr: force mcuboot to fit in the boot partition"

Commit 4094813 ("zephyr: force mcuboot to fit in the boot partition")
added a DTC overlay file that breaks the build on arduino_101. That
board doesn't have its flash partitions defined in DTS.

Keep things working for now without allowing other issues to creep in
on ARM targets by excluding the chosen node on x86 targets only.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
diff --git a/boot/zephyr/dts.overlay b/boot/zephyr/dts.overlay
index 74d3dfb..c9697df 100644
--- a/boot/zephyr/dts.overlay
+++ b/boot/zephyr/dts.overlay
@@ -1,5 +1,17 @@
+/*
+ * HACK: don't enforce fitting in the boot partition on x86.
+ *
+ * The currently only x86 target supported by mcuboot, arduino_101, doesn't
+ * have its flash partitions defined in DTS. On the other hand, all ARM-based
+ * SoCs currently supported do, and no other arches are currently supported.
+ *
+ * Keep the build working on x86 until the board(s) in that arch support flash
+ * partition layout in DTS.
+ */
+#ifndef CONFIG_X86
 / {
 	chosen {
 		zephyr,code-partition = &boot_partition;
 	};
 };
+#endif