Re: [PATCH] mk: fix build of assembly files for ARM64
From: Zbigniew Bodek <hidden>
Date: 2017-01-18 11:31:41
From: Zbigniew Bodek <hidden>
Date: 2017-01-18 11:31:41
On 17.01.2017 23:45, Thomas Monjalon wrote:
2017-01-17 15:35, zbigniew.bodek@caviumnetworks.com:quoted
-# for now, we don't use as but nasm. -# AS = $(CROSS)asIt looks to be a very very old comment.quoted
+ifeq ($(CONFIG_RTE_ARCH_X86),y) AS = nasmThere 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.
quoted
+else +AS = $(CROSS)as +endif