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@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel