From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: fix build of assembly files for ARM64 Date: Fri, 27 Jan 2017 08:20:01 -0800 (PST) Message-ID: <2810758.uGRdNRuYUv@xps13> References: <1484663736-32195-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <2047286.uqzdbYr9PH@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com To: Zbigniew Bodek Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 023F8FFA for ; Fri, 27 Jan 2017 17:20:02 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id c85so123910294wmi.1 for ; Fri, 27 Jan 2017 08:20:02 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-18 12:31, Zbigniew Bodek: > > On 17.01.2017 23:45, Thomas Monjalon wrote: > > 2017-01-17 15:35, zbigniew.bodek@caviumnetworks.com: > >> -# for now, we don't use as but nasm. > >> -# AS = $(CROSS)as > > > > It looks to be a very very old comment. > > > >> +ifeq ($(CONFIG_RTE_ARCH_X86),y) > >> AS = nasm > > > > There is no asm file in DPDK as far as I know. > > So why would we have a dependency on nasm for x86? > > Yes, there is no such file now. We were to add assembly code but > eventually we decided to put it in a separate library. Nevertheless this > fix should be harmless if there is no ASM file and will behave correctly > if someone will add ASM file in the future. Please remove the ifeq and keep only $(CROSS)as as below. > >> +else > >> +AS = $(CROSS)as > >> +endif > >