[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] bsd-user: Only process meson rules on BSD host
From: |
Laurent Vivier |
Subject: |
Re: [PATCH 1/2] bsd-user: Only process meson rules on BSD host |
Date: |
Wed, 6 Oct 2021 08:02:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Le 05/10/2021 à 22:46, Warner Losh a écrit :
>
>
> On Tue, Oct 5, 2021 at 2:41 PM Laurent Vivier <laurent@vivier.eu
> <mailto:laurent@vivier.eu>> wrote:
>
> Le 05/10/2021 à 21:26, Paolo Bonzini a écrit :
> > On 27/09/21 11:52, Daniel P. Berrangé wrote:
> >> bsd_user_ss.add(files('gdbstub.c'))
> >> specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
> >>
> >>
> >> So without this change, we're already correctly dropping bsd_user_ss
> >> in its entirity, when not on BSD.
> >>
> >> With this change, we're dropping some, but not all, of bsd_user_ss
> >> files - gdbstub.c remains.
> >>
> >> So this change on its own doesn't make a whole lot of sense.
> >
> > Agreed; that said, the gdbstub.c files added by
> >
> > bsd_user_ss.add(files('gdbstub.c'))
> > linux_user_ss.add(files('gdbstub.c', 'thunk.c'))
> >
> > are unnecessary because there is already
> >
> > specific_ss.add(files('cpu.c', 'disas.c', 'gdbstub.c'), capstone)
> >
> > So, with those two instances of gdbstub.c removed, both patches are
> >
> > Acked-by: Paolo Bonzini <pbonzini@redhat.com
> <mailto:pbonzini@redhat.com>>
> >
>
> I can take them if a v2 is sent updated accordingly...
>
>
> I'd planned on rolling them into the bsd-user patch set that I'd been working
> on
> that is almost ready to go in (this is I think the only remaining issue with
> the patch
> train, though I need to double check threads). I'd planned on doing that
> tomorrow,
> but would be happy to coordinate with you since one of them does touch
> linux-user.
You can take both.
Thanks,
Laurent