Index: /trunk/src/VBox/Main/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Main/Makefile.kmk	(revision 59406)
+++ /trunk/src/VBox/Main/Makefile.kmk	(revision 59407)
@@ -1056,16 +1056,18 @@
   src-all/win/VBoxProxyStub.rc_DEPS = $(VBoxCOM_0_OUTDIR)/VirtualBox.tlb
 
- DLLS += VBoxProxyStubLegacy
- VBoxProxyStubLegacy_TEMPLATE = VBOXMAINCOMP
- VBoxProxyStubLegacy_EXTENDS  = VBoxProxyStub
- VBoxProxyStubLegacy_DEFS     = $(VBoxProxyStub_DEFS) VBOX_IN_PROXY_STUB_LEGACY
- VBoxProxyStubLegacy_INCS     = $(VBoxCOM_0_OUTDIR)/old64/
- VBoxProxyStubLegacy_SOURCES  = \
- 	$(VBoxCOM_0_OUTDIR)/old64/VirtualBox_p.c \
- 	$(VBoxCOM_0_OUTDIR)/old64/VirtualBox_i.c \
- 	src-all/win/VBoxProxyStub.def \
- 	src-all/win/VBoxProxyStub.rc \
- 	src-all/win/VBoxProxyStub.c
-  src-all/win/VBoxProxyStub.rc_DEPS = $(VBoxCOM_0_OUTDIR)/old64/VirtualBox.tlb
+ ifeq ($(KBUILD_TARGET_ARCH),amd64)
+  DLLS += VBoxProxyStubLegacy
+  VBoxProxyStubLegacy_TEMPLATE = VBOXMAINCOMP
+  VBoxProxyStubLegacy_EXTENDS  = VBoxProxyStub
+  VBoxProxyStubLegacy_DEFS     = $(VBoxProxyStub_DEFS) VBOX_IN_PROXY_STUB_LEGACY
+  VBoxProxyStubLegacy_INCS     = $(VBoxCOM_0_OUTDIR)/old64/
+  VBoxProxyStubLegacy_SOURCES  = \
+  	$(VBoxCOM_0_OUTDIR)/old64/VirtualBox_p.c \
+  	$(VBoxCOM_0_OUTDIR)/old64/VirtualBox_i.c \
+  	src-all/win/VBoxProxyStub.def \
+  	src-all/win/VBoxProxyStubLegacy.rc \
+  	src-all/win/VBoxProxyStub.c
+  src-all/win/VBoxProxyStubLegacy.rc_DEPS = $(VBoxCOM_0_OUTDIR)/old64/VirtualBox.tlb
+ endif
 
  ifdef VBOX_WITH_32_ON_64_MAIN_API
Index: /trunk/src/VBox/Main/src-all/win/VBoxProxyStubLegacy.rc
===================================================================
--- /trunk/src/VBox/Main/src-all/win/VBoxProxyStubLegacy.rc	(revision 59407)
+++ /trunk/src/VBox/Main/src-all/win/VBoxProxyStubLegacy.rc	(revision 59407)
@@ -0,0 +1,24 @@
+/* $Id$ */
+/** @file
+ * VBoxProxyStub - Resource file containing version info, icon and typelib.
+ */
+
+/*
+ * Copyright (C) 2006-2016 Oracle Corporation
+ *
+ * This file is part of VirtualBox Open Source Edition (OSE), as
+ * available from http://www.virtualbox.org. This file is free software;
+ * you can redistribute it and/or modify it under the terms of the GNU
+ * General Public License (GPL) as published by the Free Software
+ * Foundation, in version 2 as it comes in the "COPYING" file of the
+ * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+ */
+
+#define IN_FILE_DESCRIPTION "VirtualBox COM Proxy Stub and Type Library (pre Windows 7)"
+#define IN_FILE_BASENAME    "VBoxProxyStubLegacy"
+
+#include "../../../Artwork/win/TemplateDll.rc"
+
+1 TYPELIB "VirtualBox.tlb"
+
