[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH for-4.17] libs/light: Fix build, fix missing _libxl_types_json.h
- To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 25 Oct 2022 13:54:35 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B1nSpRZyK/9ooLIPKJLAlAHQABdqLC8qj5XnYImKwiE=; b=WipaMNe9ByWsbPv9KtmJV6+0v/zjfJBiEwvp38/5NTrfz3cY9zMqqnQ/D+mVwZSeF5VZVhTRNXGnWHapkiEf3vKqE0DLZaKR75l39DvVDJOWVA1KXrGSfjueKXRdVtv3ScsB/DDyNVRbtcKJLyaZHDHv+/7jBXWAKe3RP06Z63Tu/3R1VYaUmGsQfS58hSRHhVHyvacG98nWEBjsD2k7hCd3DbQu7ZNOL6liRLKpcDDNX73TkBhtcC3qfwNnclo69yh0hbQTmbp2HyQfJMp7mmcmz5vH+yT2QYDwsQ0J4U/vZEQ8QEVL2Xe20y+f0nFmCYRifgsufmZV/ogEoDiTVQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RWlkCCLzZaTDWRhsBbr6p7L+2Ruq6Z3yvyxy87rekHBs8ZRzScDY2/Oa3c2E9QIXdrC7NHvqeQS3JoJUT4VJ8PHo4FtAB6SlBx9wZPAzOARZDtVIeLBPOHNHY1+fkjPaZLVOFt/OQ2gwJB1RuozV0SQKvPBHGa8zRZFtiwmnjCHKp5vy+zr9QgGeKAyotWLlJBfe1HWZmgipYJX9L025G2Gw4E4QtwmfMJkKtqkHcplAy/8gLGyrMzb5/OSnDMAM1yRFYVhfjfM2VEVuqpLUYM4Vv98zcfnhLKMbCkxZBq42LGIa6joRrwVAwdRxc1F6EHVcASA06f2q3+hTcp4Xog==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 25 Oct 2022 11:54:54 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 25.10.2022 13:16, Anthony PERARD wrote:
> Make may not have copied "_libxl_types_json.h" into $(XEN_INCLUDE)
> before starting to build the different objects.
>
> Make sure that the generated headers are copied into $(XEN_INCLUDE)
> before using them. This is achieved by telling make about which
> headers are needed to use "libxl_internal.h" which use "libxl_json.h"
> which uses "_libxl_types_json.h". "libxl_internal.h" also uses
> "libxl.h" so add it to the list.
>
> This also prevent `gcc` from using a potentially installed headers
> from a previous version of Xen.
>
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
|