[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v4 03/32] tools/fuzz/x86_instruction_emulator: rework makefile
- To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Fri, 12 Aug 2022 15:41:58 +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=bXcOqjAooVpoBaeqAsiBRv6Sikk7grLEfmW7vimd4Pw=; b=BXb5OiUzn3jETWkstcBAlq8O/KI+kmpVKffRBH9HUau19zMy9RwBDh9BE73Y5pdn00uq6rm1kXyP1tQn0rPY8UIcus+2a47oNiJUxcWMm0KZwgMODQVFyR4nmH28THQoPcbJ7DLUmvx2pdHPl1gDdIkRA2u6avI0hnsuezFZpPkVohQdJ4ipJYF82rNzAquNHLBbvirVI+nBuJOM28NvWnGeW91FR4VnEzGAk7akJ0icXQYlz8Xqf75Mbgr13I9c5YeCqDXa6pgKx6MCVZFhbhyLhKwWVbGVy87dIW/d9GW/2vq5hMzi+L3XcfyR0vCs3mr+yUW2qATTFV+Tl4LWCA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LeTiEDlfpRweQHVyvcZTc6KQRQV9nRiCWfmR3eRGgdvKSnhjmVZp9WCx5Um8HhCffVgLtxI4/Ce3WlVjdyC+nJvXx5cPBG/tNQiWtTp15GX6dU2JrNN3qKVKEEHp0nsHewLMf6napqFl5peG8Mtw6frxU61cnwo3YHJsqFi0bIJYVvFmwX5hppBqAtw3+fJGWg8vbaxwM5MEJEUjdOxS5CYeJeftq+bPTmELHWfuIIOwH/iO6+GhiunDAu6yx7NcConLBfGtguQp9N1B2OEvBJQvAeojs7v4Vj1u7mFnnufM1mckMo3eMauPg/hyfqd2j2Nz2ZrpyHFPRUo/cPSM9Q==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Luca Fancellu <luca.fancellu@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 12 Aug 2022 13:42:13 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 11.08.2022 18:48, Anthony PERARD wrote:
> Rework dependencies of all objects. We don't need to add dependencies
> for headers that $(CC) is capable of generating, we only need to
> include $(DEPS_INCLUDE). Some dependencies are still needed so make
> knows to generate symlinks for them.
>
> We remove the use of "vpath" for cpuid.c. While it works fine for now,
> when we will convert this makefile to subdirmk, vpath will not be
> usable. Also, "-iquote" is now needed to build "cpuid.o".
>
> Replace "-I." by "-iquote .", so it applies to double-quote includes
> only.
>
> Rather than checking if a symlink exist, always regenerate the
> symlink. So if the source tree changed location, the symlink is
> updated.
>
> Since we are creating a new .gitignore for the symlink, also move the
> entry to it.
>
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|