[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [XEN PATCH v2 11/12] xen/build: introduce ccflags-y and CFLAGS_$@
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Date: Mon, 3 Feb 2020 14:23:37 +0000
- Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=anthony.perard@xxxxxxxxxx; spf=Pass smtp.mailfrom=anthony.perard@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Mon, 03 Feb 2020 14:23:54 +0000
- Ironport-sdr: dmW+vPpVHTFCUopx+xCuZUVILtLddulmrIUrwoBD8Ms++Us5kN9TFaIbqPYDNWA8527mRpUbDO Y7YnGJ1J6qTF+xrBgUipV/1BcCY7WlhhxWx4uQisJeED2BDsqWnD9IwbzixR2gjeQ60xQifkNJ 3a1YZkJqyXrdKRrgBe5FlUbtg1OdFuPS7XtNHRBuexv4tJfUCz1UJoO4hSkWhn1e3Y0VjRI9Qs ViisBJkH5j63u6g0EN9j96X83yso12C4BMDMO0sXMb52+tbaNNKURUJN+scKOPKKLjJKXQUvny aAo=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Thu, Jan 30, 2020 at 02:39:43PM +0100, Jan Beulich wrote:
> On 17.01.2020 11:53, Anthony PERARD wrote:
> I have to admit that I'm also a little puzzled by the naming, no
> matter that it's taken from Linux. It doesn't really seem to fit
> CFLAGS/AFLAGS and c_flags/a_flags.
So I've look into the history of Linux, ccflags-y was introduce to get
rid of EXTRA_CFLAGS and especially to have the -y part in the name of
the variable.
So, instead of ccflags-y and the like, we could use CFLAGS-y in Makefile
of subdirectories.
For makefiles in subdir, Linux has:
CFLAGS_$@
CFLAGS_REMOVE_$@
ccflags-y
subdir-ccflags-y
so CFLAGS-y would be better (and we can think about the subdir one
later).
--
Anthony PERARD
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|