[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] Makefile: Fix config-devices.mak not regenerated when Kco
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2] Makefile: Fix config-devices.mak not regenerated when Kconfig updated |
Date: |
Tue, 5 Nov 2019 16:05:08 +0000 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Tue, Nov 05, 2019 at 04:12:09PM +0100, Philippe Mathieu-Daudé wrote:
> When hw/$DIR/Kconfig is changed, the corresponding generated
> hw/$DIR/config-devices.mak is not being updated.
> Fix this by including all the hw/*/Kconfig files to the prerequisite
> names of the rule generating the config-devices.mak files.
>
> Fixes: e0e312f3525a (build: switch to Kconfig)
> Reported-by: Peter Maydell <address@hidden>
> Suggested-by: Daniel P. Berrangé <address@hidden>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> v2:
> Simplify using the wildcard() function instead of calling `sed` (danpb)
>
> You can see this tread where Peter reported the failure:
> https://lists.gnu.org/archive/html/qemu-devel/2019-11/msg00125.html
>
> How to reproduce:
>
> $ git checkout branch_modifying_kconfig
> $ make i386-softmmu/all
> $ make clean
> $ git checkout prev_branch
> $ make clean
> $ make i386-softmmu/all
> # error
>
> If OK, I plan to include this fix in the "hw/i386/pc: Split PIIX3
> southbridge from i440FX northbridge" pull request.
> ---
> Makefile | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Daniel P. Berrangé <address@hidden>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|