[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 2/4] Add NVMM accelerator: x86 CPU support
From: |
Reinoud Zandijk |
Subject: |
Re: [PATCH v7 2/4] Add NVMM accelerator: x86 CPU support |
Date: |
Wed, 7 Apr 2021 15:50:20 +0000 |
On Fri, Apr 02, 2021 at 02:51:41PM -0700, Richard Henderson wrote:
> On 4/2/21 1:25 PM, Reinoud Zandijk wrote:
> > +i386_softmmu_ss.add(when: 'CONFIG_NVMM', if_true:
> > + declare_dependency(link_args: ['-lnvmm'])
> > +)
>
> You shouldn't be playing with link flags directly.
>
> In patch 1, you found the nvmm library, and assigned it to the variable
> 'nvmm'. You should just add the library as a dependency and let meson
> figure out what to do.
>
> So I think this should just be
>
> i386_softmmu_ss.add(when: 'CONFIG_NVMM', if_true: nvmm)
Thanks for the patch :) I will incorporate it!
Reinoud