Re: [PATCH 2/4] perf: jevents: Program to convert JSON file to C style file

From: Andi Kleen
Date: Fri May 22 2015 - 14:01:17 EST


> pmu-events.c depends only on JSON files relevant to the arch perf is
> being built on and there could be several JSON files per arch. So it
> would complicate the Makefiles.

Could just use a wildcard dependency on */$(ARCH)/*.json

Also it would be good to move the generated file into the object
directory. I tried it but it needs some more changes to the Makefiles.

-Andi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/