APPLIED[A]: [Zesty/Artful][PATCH] UBUNTU: SAUCE: make sure ubuntu/xr-usb-serial builds for x86

Stefan Bader stefan.bader at canonical.com
Fri Feb 16 14:26:09 UTC 2018


On 20.11.2017 09:14, Wen-chien Jesse Sung wrote:
> 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
>  ##
> 
Applied to Artful/master-next-backlog, ignored for Zesty (EOL)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20180216/66ccd003/attachment.sig>


More information about the kernel-team mailing list