[3/3,C/Unstable] UBUNTU: ubuntu: enable vbox build

Message ID 20181010134135.10555-4-seth.forshee@canonical.com
State New
Headers show
Series
  • Switch back to out-of-tree virtualbox guest modules
Related show

Commit Message

Seth Forshee Oct. 10, 2018, 1:41 p.m.
https://bugs.launchpad.net/bugs/1796647

Enable build of imported virtualbox guest modules, and update
makefile to ensure they are built on i386 as well as amd64.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 ubuntu/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/ubuntu/Makefile b/ubuntu/Makefile
index dba47625511f..508b3b1c17fd 100644
--- a/ubuntu/Makefile
+++ b/ubuntu/Makefile
@@ -15,8 +15,8 @@ 
 ##
 ##
 ##
-ifeq ($(ARCH),x86)
-#obj-y                         += vbox/
+ifneq ($(filter $(ARCH), i386 x86),)
+obj-y                         += vbox/
 endif
 ##
 ##