make tools/perf fails with
gcc: fatal error: no input files
Bisect points to 'perf build: Update build rule for generated files' which adds
+ +# pmu-events.c file is generated in the OUTPUT directory so it needs a +# separate rule to depend on it properly +$(OUTPUT)pmu-events/pmu-events.o: $(PMU_EVENTS_C) + $(call rule_mkdir) + $(call if_changed_dep,cc_o_c)
but there is no PMU_EVENTS_C in v6.1.y.
Guenter
On Sun, Sep 17, 2023 at 07:48:43AM -0700, Guenter Roeck wrote:
make tools/perf fails with
gcc: fatal error: no input files
Bisect points to 'perf build: Update build rule for generated files' which adds
+# pmu-events.c file is generated in the OUTPUT directory so it needs a +# separate rule to depend on it properly +$(OUTPUT)pmu-events/pmu-events.o: $(PMU_EVENTS_C)
$(call rule_mkdir)
$(call if_changed_dep,cc_o_c)
but there is no PMU_EVENTS_C in v6.1.y.
Then the Fixes: tag lied :(
I'll go drop this patch now, thanks.
greg k-h
linux-stable-mirror@lists.linaro.org