From patchwork Mon Nov 20 08:14:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen-chien Jesse Sung X-Patchwork-Id: 839467 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3ygM2J4GgRz9s4s; Mon, 20 Nov 2017 19:14:32 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1eGhDj-0000Ux-RH; Mon, 20 Nov 2017 08:14:23 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1eGhDi-0000Um-La for kernel-team@lists.ubuntu.com; Mon, 20 Nov 2017 08:14:22 +0000 Received: from 1.general.jesse.us.vpn ([10.172.69.96] helo=cola.voip.idv.tw) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1eGhDh-0003Iq-T0; Mon, 20 Nov 2017 08:14:22 +0000 From: Wen-chien Jesse Sung To: kernel-team@lists.ubuntu.com Subject: [Zesty/Artful][PATCH] UBUNTU: SAUCE: make sure ubuntu/xr-usb-serial builds for x86 Date: Mon, 20 Nov 2017 16:14:17 +0800 Message-Id: <1511165657-16619-1-git-send-email-jesse.sung@canonical.com> X-Mailer: git-send-email 2.7.4 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" 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 Acked-by: Po-Hsu Lin Acked-by: Seth Forshee --- 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 ##