[Zesty/Artful][PATCH] UBUNTU: SAUCE: make sure ubuntu/xr-usb-serial builds for x86
Wen-chien Jesse Sung
jesse.sung at canonical.com
Mon Nov 20 08:14:17 UTC 2017
BugLink: https://launchpad.net/bugs/1733281
The ubuntu/xr-usb-serial is expected to be built for i386 and x86_64,
and in ubuntu/Makefile it says:
ifneq ($(filter $(ARCH), i386 x86_64),)
obj-y += xr-usb-serial/
endif
Since ARCH is x86 for both i386 and x86_64, this condition will never be
true thus the module will never get a chance to be built.
Signed-off-by: Wen-chien Jesse Sung <jesse.sung at canonical.com>
---
ubuntu/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ubuntu/Makefile b/ubuntu/Makefile
index ef16668..2c1e696 100644
--- a/ubuntu/Makefile
+++ b/ubuntu/Makefile
@@ -25,7 +25,7 @@ obj-$(CONFIG_HIO) += hio/
##
##
##
-ifneq ($(filter $(ARCH), i386 x86_64),)
+ifeq ($(ARCH),x86)
obj-y += xr-usb-serial/
endif
##
--
2.7.4
More information about the kernel-team
mailing list